Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

MultimediaController Class Reference

Module Multimedia: management of Image, Audio, Video objects. More...

Inheritance diagram for MultimediaController:
ModulesController AppController

List of all members.

Public Member Functions

 index ($id=null, $order="id", $dir=0, $page=1, $dim=50)
 view ($id=null)
 Generic view method: to override in real modules or create specific view methods if more types are handled by this module, like view[ModelName] (e.g.
 saveAjax ()
 save ($cloneMedia=false)
 cloneObject ()
 delete ()
 Generic delete method: to override in real modules.
 deleteSelected ()
 multipleUpload ()
 Load multiupload in modal called via ajax.

Public Attributes

 $name = 'Multimedia'
 $helpers = array('BeTree', 'BeToolbar', 'ImageInfo')
 $components = array('BeFileHandler', 'BeUploadToObj', 'BeSecurity')
 $uses = array('Application','Stream', 'Image', 'Audio', 'Video', 'BEObject', 'Tree', 'User', 'Group','Category','BEFile')

Protected Member Functions

 forward ($action, $result)
 Default forward for BEdita modules - to overrider in module controllers if needed.

Protected Attributes

 $moduleName = 'multimedia'

Detailed Description

Module Multimedia: management of Image, Audio, Video objects.

Version:
$Revision$ $LastChangedBy$ $LastChangedDate$

$Id$

Definition at line 32 of file multimedia_controller.php.


Member Function Documentation

MultimediaController::delete (  ) 

Generic delete method: to override in real modules.

If more types are handled by this module create specific delete methods like delete[ModelName] (e.g. deleteDocument, deleteEvent...) This methods will be called automagically....

Reimplemented from ModulesController.

Definition at line 384 of file multimedia_controller.php.

References AppController::deleteObjects(), AppController::eventInfo(), and AppController::userInfoMessage().

MultimediaController::forward ( action,
result 
) [protected]

Default forward for BEdita modules - to overrider in module controllers if needed.

See also:
AppController::forward()

Reimplemented from ModulesController.

Definition at line 406 of file multimedia_controller.php.

References ModulesController::moduleForward().

MultimediaController::view ( id = null  ) 

Generic view method: to override in real modules or create specific view methods if more types are handled by this module, like view[ModelName] (e.g.

viewDocument, viewEvent...) This methods will be called automagically....

Parameters:
integer $id object id to view

Reimplemented from ModulesController.

Definition at line 141 of file multimedia_controller.php.

References AppController::eventError(), AppController::objectRelationArray(), ModulesController::previewsForObject(), ModulesController::setSessionForObjectDetail(), AppController::setup_args(), AppController::setupAnnotations(), and AppController::userErrorMessage().


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:47 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus