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

CommentsController Class Reference

Inheritance diagram for CommentsController:
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.
 save ()
 Generic save method: to override in real modules.
 banIp ()
 delete ()
 Generic delete method: to override in real modules.
 deleteSelected ()

Public Attributes

 $helpers = array('BeTree', 'BeToolbar')
 $components = array('BeTree', 'BeLangText', 'BeSecurity')
 $uses = array('Comment')

Protected Member Functions

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

Protected Attributes

 $moduleName = 'comments'

Detailed Description

Version:
$Revision$ $LastChangedBy$ $LastChangedDate$

$Id$

Definition at line 31 of file comments_controller.php.


Member Function Documentation

CommentsController::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 101 of file comments_controller.php.

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

CommentsController::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 115 of file comments_controller.php.

References ModulesController::moduleForward().

CommentsController::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 66 of file comments_controller.php.

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

CommentsController::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 50 of file comments_controller.php.

References ModulesController::getModuleObjectTypes().


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