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

AreasController Class Reference

Controller module Publications: managing of publications, sections and sessions. More...

Inheritance diagram for AreasController:
ModulesController AppController

List of all members.

Public Member Functions

 index ($id=null, $order= '', $dir=true, $page=1, $dim=20)
 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.
 viewArea ($id=null)
 viewSection ($id=null)
 saveArea ()
 Add or modify area.
 saveSection ()
 Save/modify section.
 delete ()
 Generic delete method: to override in real modules.
 export ()
 Export section objects to a specific file format.
 import ()
 Import objects from file in current section.
 categories ()

Public Attributes

 $name = 'Areas'
 $helpers = array('BeTree', 'BeToolbar')
 $components = array('BeTree', 'BeCustomProperty', 'BeLangText', 'BeUploadToObj', 'BeFileHandler', 'BeSecurity')
 $uses = array('BEObject', 'Area', 'Section', 'Tree', 'User', 'Group', 'ObjectType','Category')

Protected Member Functions

 loadChildren ($id, $order="priority", $dir=true, $page=1, $dim=20)
 load paginated contents and no paginated sections of $id publication/section
 forward ($action, $result)
 Default forward for BEdita modules - to overrider in module controllers if needed.

Protected Attributes

 $moduleName = 'areas'
 $categorizableModels = array('Section')

Detailed Description

Controller module Publications: managing of publications, sections and sessions.

Version:
$Revision$ $LastChangedBy$ $LastChangedDate$

$Id$

Definition at line 32 of file areas_controller.php.


Member Function Documentation

AreasController::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 262 of file areas_controller.php.

AreasController::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 414 of file areas_controller.php.

References ModulesController::moduleForward().

AreasController::loadChildren ( id,
order = "priority",
dir = true,
page = 1,
dim = 20 
) [protected]

load paginated contents and no paginated sections of $id publication/section

Parameters:
int $id
string $order
bool $dir
int $page
int $dim

Definition at line 96 of file areas_controller.php.

References ModulesController::paginatedList().

Referenced by view().

AreasController::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 63 of file areas_controller.php.

References loadChildren().


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