Public Member Functions | Public Attributes | Protected Attributes

EventsController Class Reference

Events module controller. More...

Inheritance diagram for EventsController:
ModulesController AppController

List of all members.

Public Member Functions

 index ($id=null, $order="", $dir=true, $page=1, $dim=20)
 calendar ()
 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.
 save ()
 Generic save method: to override in real modules.
 delete ()
 Generic delete method: to override in real modules.
 deleteSelected ()
 categories ()

Public Attributes

 $helpers = array('BeTree', 'BeToolbar', 'Paginator')
 $components = array('BeTree', 'BeCustomProperty', 'BeLangText', 'BeSecurity')
 $uses = array('BEObject','Event','Category','Area','Tree', 'DateItem')

Protected Attributes

 $calendarDays = 7
 $moduleName = 'events'
 $categorizableModels = array('Event')

Detailed Description

Events module controller.

Definition at line 26 of file events_controller.php.


Member Function Documentation

EventsController::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 143 of file events_controller.php.

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

EventsController::save (  ) 

Generic save method: to override in real modules.

If more types are handled by this module create specific 'save' methods like save[ModelName] (e.g. saveDocument, saveEvent...) This methods will be called automagically....

Reimplemented from ModulesController.

Definition at line 134 of file events_controller.php.

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

EventsController::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 116 of file events_controller.php.

References AppController::userWarnMessage().


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