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

AdminController Class Reference

Administration: system info, eventlogs, plug/unplug module, plugins, utility.... More...

Inheritance diagram for AdminController:
ModulesController AppController

List of all members.

Public Member Functions

 index ()
 utility ()
 http request load utility page ajax request try to execute the utility operation defined in $this->params["form"]["operation"]
 update ($type= 'core')
 updateFrontends ()
 updateModules ()
 coreModules ()
 list core modules to choose which switch on/off
 sortModules ()
 list all modules and allow to sort them
 systemInfo ()
 Display system info, as well as warnings if some of the requirements aren't met.
 systemEvents ()
 systemLogs ($maxRows=10)
 emptyFile ()
 refreshFile ()
 emptySystemLog ()
 deleteMailJob ($id)
 deleteMailLog ()
 deleteAllMailUnsent ()
 deleteAllMailLogs ()
 emailLogs ()
 emailInfo ()
 testSmtp ($to)
 deleteEventLog ()
 customproperties ()
 saveCustomProperties ()
 deleteCustomProperties ()
 pluginModules ()
 list all plugged/unplugged plugin modules
 plugModule ()
 plug in a module
 toggleModule ()
 switch off => on and back a plugin module
 unplugModule ()
 plug out a module
 viewConfig ()
 saveConfig ()
 customRelations ()
 saveCustomRelation ()
 deleteCustomRelation ()

Public Attributes

 $uses = array('MailJob','MailLog','MailMessage')
 $components
 $helpers = array('Paginator', 'Text')
 $paginate

Protected Member Functions

 beditaBeforeFilter ()
 local 'beforeFilter' (for backend or frontend)
 forward ($action, $result)
 Default forward for BEdita modules - to overrider in module controllers if needed.

Protected Attributes

 $moduleName = 'admin'

Detailed Description

Administration: system info, eventlogs, plug/unplug module, plugins, utility....

Definition at line 25 of file admin_controller.php.


Member Function Documentation

AdminController::coreModules (  ) 

list core modules to choose which switch on/off

Returns:
void

Definition at line 219 of file admin_controller.php.

AdminController::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 835 of file admin_controller.php.

References ModulesController::moduleForward().

AdminController::pluginModules (  ) 

list all plugged/unplugged plugin modules

Returns:
void

Definition at line 516 of file admin_controller.php.

AdminController::plugModule (  ) 

plug in a module

Returns:
void

Definition at line 528 of file admin_controller.php.

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

AdminController::sortModules (  ) 

list all modules and allow to sort them

Returns:
void

Definition at line 233 of file admin_controller.php.

References AppController::userInfoMessage().

AdminController::toggleModule (  ) 

switch off => on and back a plugin module

Returns:
void

Definition at line 548 of file admin_controller.php.

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

AdminController::unplugModule (  ) 

plug out a module

Returns:
void

Definition at line 569 of file admin_controller.php.

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

AdminController::utility (  ) 

http request load utility page ajax request try to execute the utility operation defined in $this->params["form"]["operation"]

Exceptions:
BeditaAjaxException 

Definition at line 70 of file admin_controller.php.

References AppController::eventInfo(), and ModulesController::view().


Member Data Documentation

AdminController::$components
Initial value:
 array(
        'Security' => array(
            'requirePost' => array(
                'deleteEventLog',
                'emptySystemLog',
                'deleteAllMailLogs',
                'deleteAllMailUnsent',
                'deleteMailLog',
                'deleteMailJob'
            )
        ),
        'BeSystem',
        'BeMail',
        'BeSecurity'
    )

Reimplemented from AppController.

Definition at line 28 of file admin_controller.php.

AdminController::$paginate
Initial value:
 array(
        'EventLog' => array('limit' => 20, 'page' => 1, 'order'=>array('created'=>'desc')),
        'MailJob' => array('limit' => 10, 'page' => 1, 'order'=>array('created'=>'desc'))
    )

Definition at line 44 of file admin_controller.php.


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