Class cfBackendController
cfBackendController Class
The base class for manager controllers.
- flController
- cfBackendController
Direct known subclasses
cloudflareBackendController
,
commentsBackendController
,
formsBackendController
Copyright: Copyright (c) 2012 - 2016 clearFusionCMS. All rights reserved.
Located at system/app/cfBackendController.php
Methods summary
public
|
|
public
mixed
|
#
_getVar( string $name )
Function used by cfBackendControllerAction to get variables when initialising the action. |
public
|
|
public
|
#
testPermission( string|array $permission )
Test if the logged in user has access permission. If the user doesn't have permission then they are directed to the dashboard. |
public
string
|
#
assemble( string $module, string $action, array $data = array(), boolean $absolute = false, boolean $secure = null )
Assemble a manager URI. |
public
|
|
public
string
|
|
public
string
|
#
renderBlock( string $title, string $content, string $desc = '', string $msg = '', string $pagination = '' )
Render a page block. |
public
string
|
#
renderBlockToolbar(
Render a page block with a toolbar. |
public
string
|
|
public
string
|
|
public
string
|
#
lockObject( string $module, integer $id, boolean $global = false )
Lock the module object to the current user. |
public
|
|
public
|
#
unlockObject( string $module, integer $id, boolean $global = false )
Unlock the module object from the current user. |
public
|
|
public
|
Methods inherited from flController
dispatch()
,
getActionClass()
,
getRequest()
,
getResponse()
,
getRouter()
,
setResponse()
Properties summary
protected
|
$db
The database object. |
|
protected
|
$tpl
The template engine. |
|
protected
|
$user
The user object. |
|
protected
|
$session
The session object. |
#
null
|
protected
|
$breadcrumbTrail
The breadcrumb trail. |
#
null
|
protected
|
$cache
Cache object to use. |
|
protected
|
$managerSession
The manager session data. |