modules/admin/classes/admin.php

Show: inherited
Table of Contents

\Admin\Admin

Package:

Methods

methodpublic_init( ) : void
static

Sets up basic requirements of the Admin Module (e.g. loading configs)

Details
Static
 
methodpublicadd_nav( mixed $new_nav ) : void
static

DEPRECATED: use PropNav instead

Parameters
Name Type Description
$new_nav mixed
Details
Deprecated
 
Static
 
methodpublicadd_role(  $name,  $permissions, bool $module = false ) : void
static

DEPRECATED: use Auth with the PropAuth driver instead

Parameters
Name Type Description
$name
$permissions
$module bool
Details
Deprecated
 
Static
 
methodpublicadd_roles(  $roles, bool $module = false ) : void
static

DEPRECATED: use Auth with the PropAuth driver instead

Parameters
Name Type Description
$roles
$module bool
Details
Deprecated
 
Static
 
methodpublicdo_auth( \Controller | \Request | null $class = null ) : void
static

Composition method used by the before() method of controllers to do the auth

Parameters
Name Type Description
$class \Controller | \Request | null

controller object auth is being run for, a request object, or null to use the active request

Details
Static
 
methodpublicget_nav( ) : string
static

DEPRECATED: use PropNav instead

Returns
Type Description
string
Details
Deprecated
 
Static
 
methodpublicget_roles( ) : mixed
static

DEPRECATED: use Auth with PropAuth driver instead

Returns
Type Description
mixed
Details
Deprecated
 
Static
 
methodpublichas_access( mixed $url, bool $ignore_invalid_route = true ) : bool
static

DEPRECATED: use the Auth package (with PropAuth driver) directly

Parameters
Name Type Description
$url mixed
$ignore_invalid_route bool
Returns
Type Description
bool
Details
Deprecated
 
Static
 
methodpublicload_sub_modules( ) : void
static

Load submodules and run their bootstraps

Throws
Exception Description
\Fuel\Core\Fuel_Exception
Details
Static
 
methodpubliclog(  $message ) : void
static

Parameters
Name Type Description
$message
methodpublicpopulate_groups( ) : void
static

DEPRECATED

Details
Deprecated
 
Static
 
Documentation was generated by DocBlox 0.18.1.