Ubiquity  2.0.2
php rapid development framework
ControllersTrait Class Reference
+ Inheritance diagram for ControllersTrait:

Public Member Functions

 _getAdminData ()
 
 _getAdminViewer ()
 
 _getAdminFiles ()
 
 controllers ()
 
 showSimpleMessage ($content, $type, $icon="info", $timeout=NULL, $staticName=null)
 
 createController ($force=null)
 
 _createView ()
 
 _newActionFrm ()
 
 _methodExists ()
 
 _checkContent ()
 
 _checkRoute ()
 
 _addRouteWithNewAction ()
 
 _newAction ()
 
 _refreshCacheControllers ()
 

Protected Member Functions

 _createController ($controllerName, $variables=[], $ctrlTemplate='controller.tpl', $hasView=false, $jsCallback="")
 
 _addMessageForRouteCreation ($path)
 

Private Member Functions

 _createViewOp ($controller, $action)
 
 getMethods ($strMethods)
 

Detailed Description

Definition at line 25 of file ControllersTrait.php.

Member Function Documentation

◆ _addMessageForRouteCreation()

_addMessageForRouteCreation (   $path)
abstractprotected

◆ _addRouteWithNewAction()

_addRouteWithNewAction ( )

Definition at line 156 of file ControllersTrait.php.

◆ _checkContent()

_checkContent ( )

Definition at line 135 of file ControllersTrait.php.

◆ _checkRoute()

_checkRoute ( )

Definition at line 145 of file ControllersTrait.php.

◆ _createController()

_createController (   $controllerName,
  $variables = [],
  $ctrlTemplate = 'controller.tpl',
  $hasView = false,
  $jsCallback = "" 
)
abstractprotected

◆ _createView()

_createView ( )

Definition at line 48 of file ControllersTrait.php.

◆ _createViewOp()

_createViewOp (   $controller,
  $action 
)
private

Definition at line 69 of file ControllersTrait.php.

◆ _getAdminData()

_getAdminData ( )
abstract

◆ _getAdminFiles()

_getAdminFiles ( )
abstract

◆ _getAdminViewer()

_getAdminViewer ( )
abstract

◆ _methodExists()

_methodExists ( )

Definition at line 120 of file ControllersTrait.php.

◆ _newAction()

_newAction ( )

Definition at line 173 of file ControllersTrait.php.

◆ _newActionFrm()

_newActionFrm ( )

Definition at line 77 of file ControllersTrait.php.

◆ _refreshCacheControllers()

_refreshCacheControllers ( )

Definition at line 237 of file ControllersTrait.php.

◆ controllers()

controllers ( )
abstract

◆ createController()

createController (   $force = null)

Definition at line 41 of file ControllersTrait.php.

◆ getMethods()

getMethods (   $strMethods)
private

Definition at line 247 of file ControllersTrait.php.

◆ showSimpleMessage()

showSimpleMessage (   $content,
  $type,
  $icon = "info",
  $timeout = NULL,
  $staticName = null 
)
abstract

The documentation for this class was generated from the following file: