expModules

This is the class expModules

package

Subsystems

subpackage

Subsystems

Methods

Does a controller of controllername exist in system?

controllerExists(string $controllername = '') : boolean
static

Arguments

$controllername

string

Response

boolean

Looks through the database returns a list of all module class names that exist in the system and have been turned on by the administrator. Inactive modules will not be included.

getActiveControllersList() : array
static

Returns the list of active module class names.

node

Subsystems:Modules

Response

array

Looks through the database returns a list of all module class names that exist in the system and have been turned on by the administrator. Inactive modules will not be included.

getActiveModulesAndControllersList() : array
static

Returns the list of active module class names.

node

Subsystems:Modules

Response

array

Returns new controller object

getController(string $controllername = '', null $param = null) : null
static

Arguments

$controllername

string

$param

null

Response

null

Returns the full controller classname with the 'Controller' suffix

getControllerClassName( $controllername) : null|string
static

Arguments

$controllername

Response

null|string

Returns the controller display (formal) name

getControllerDisplayName( $controllername) : null|string
static

Arguments

$controllername

Response

null|string

Returns the base controller name sans the 'Controller' suffix in most cases this is also the module name

getControllerName( $controllername) : null|string
static

Arguments

$controllername

Response

null|string

Returns the base controller or module name sans the 'Controller' or 'module' suffix

getModuleBaseName( $modulename) : null|string
static

Arguments

$modulename

Response

null|string

Returns the full controller or module class name with the 'Controller' or 'module' suffix as needed to instantiate the class

getModuleClassName( $modulename) : null|string
static

Arguments

$modulename

Response

null|string

Returns the controller sans the 'Controller' or module name with 'module' suffix this is how we store them in the db as 2.0/old school and in most cases it is the name of the model/data

getModuleName( $modulename) : null|string
static

Arguments

$modulename

Response

null|string

Initializes list of system and custom (theme) controllers

initializeControllers() : array
static

Response

array

Initializes list of system and custom (theme) models

initializeModels() : array
static

Response

array

Returns list of active controllers

listActiveControllers() : array
static

Response

array

listControllers

listControllers() 
static

Returns list of installed/used controllers

listInstalledControllers(null $type = null, null $loc = null) : array
static

Arguments

$type

null

$loc

null

Response

array

Returns list of controllers with user actions

listUserRunnableControllers() : array
static

Response

array

Recursive function used to load 2.0 models

loadModels( $dir,  &$models) 
static

Arguments

$dir

$models

Recursive function used to load 2.0 modules controllers

loadModules( $dir,  &$controllers) 
static

Arguments

$dir

$controllers