[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/video/ -> video.module (summary)

(no description)

File Size: 509 lines (17 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 19 functions

  video_init()
  video_module_invoke()
  video_perm()
  video_menu()
  video_theme()
  video_field_formatter_info()
  video_cron()
  video_form_alter()
  video_node_update_submit()
  video_file_delete()
  video_views_api()
  _video_aspect_ratio()
  video_default_dimensions()
  video_video_extensions()
  video_video_players()
  rmdirr()
  video_thumb_path()
  video_add_adminjs()
  _video_db_increase_timeout()

Functions
Functions that are not part of a class:

video_init()   X-Ref
Implementation of hook_init().


video_module_invoke($action, &$array, &$video = NULL, $other = NULL)   X-Ref
Invokes hook_video_*action*() in every module.
Eg :
hook_video_submit()
hook_video_insert()
hook_video_preview()
hook_video_delete()
hook_video_load()
hook_video_form() - to show values once upload is completed eg. Resolution, and Convert on Save etc

We cannot use module_invoke() for this, because the arguments need to
be passed by reference.

video_perm()   X-Ref
Implementation of hook_perm().


video_menu()   X-Ref
Implementation of hook_menu().


video_theme()   X-Ref
Implementation of hook_theme().


video_field_formatter_info()   X-Ref
Implementation of CCK's hook_field_formatter_info().


video_cron()   X-Ref
Implmentation of hook_cron().


video_form_alter(&$form, &$form_state, $form_id)   X-Ref
Implementation of hook_form_alter()

param: string $form
param: <type> $form_state
param: <type> $form_id

video_node_update_submit($form, &$form_state)   X-Ref
No description

video_file_delete($file)   X-Ref
Implementation of hook_file_delete().


video_views_api()   X-Ref
Implementation of hook_views_api().


_video_aspect_ratio($video)   X-Ref
Returns the width/height and aspect ratio of the video


video_default_dimensions()   X-Ref
Default video dimensions.


video_video_extensions()   X-Ref
Return our list of video extensions and their associated player.


video_video_players()   X-Ref
Return our supported video players.


rmdirr($dir)   X-Ref
Utility function to remove all files and directories recursively.


video_thumb_path($video = NULL, $checkexistence = TRUE)   X-Ref
No description

video_add_adminjs()   X-Ref
No description

_video_db_increase_timeout()   X-Ref
Increase the database timeout in preparation for long time
operations, such as S3 uploads and local transcoding.

Reconnecting to the database after this operation is not possible
due to the way db_set_active stores the connection identifiers.

At this moment, only mysqli and mysql are handled. The timeout is
set to 1 day



Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7