Public Member Functions | |
| __construct ($module= '', $act= '', $mid= '', $document_srl= '', $module_srl= '') | |
| shutdownHandler () | |
| init () | |
| procModule () | |
| _setInputErrorToContext () | |
| _clearErrorSession () | |
| _setInputValueToSession () | |
| displayContent ($oModule=NULL) | |
| getModulePath ($module) | |
| & | getModuleInstance ($module, $type= 'view', $kind= '') |
| _getModuleFilePath ($module, $type, $kind, &$classPath, &$highClassFile, &$classFile, &$instanceName) | |
| triggerCall ($trigger_name, $called_position, &$obj) | |
| _setHttpStatusMessage ($code) | |
Static Public Member Functions | |
| static | xeErrorLog ($errnumber, $errormassage, $errorfile, $errorline, $errorcontext) |
| static | getErrorType ($errno) |
Public Attributes | |
| $module = NULL | |
| Module. More... | |
| $act = NULL | |
| action More... | |
| $mid = NULL | |
| Module ID. More... | |
| $document_srl = NULL | |
| Document Number. More... | |
| $module_srl = NULL | |
| Module Number. More... | |
| $module_info = NULL | |
| Module Info. Object. More... | |
| $error = NULL | |
| an error code. More... | |
| $httpStatusCode = NULL | |
| http status code. More... | |
Definition at line 13 of file ModuleHandler.class.php.
| ModuleHandler::__construct | ( | $module = '', |
|
$act = '', |
|||
$mid = '', |
|||
$document_srl = '', |
|||
$module_srl = '' |
|||
| ) |
prepares variables to use in moduleHandler
| string | $module | name of module |
| string | $act | name of action |
| int | $mid | |
| int | $document_srl | |
| int | $module_srl |
Definition at line 35 of file ModuleHandler.class.php.
| ModuleHandler::_clearErrorSession | ( | ) |
| ModuleHandler::_getModuleFilePath | ( | $module, | |
| $type, | |||
| $kind, | |||
| & | $classPath, | ||
| & | $highClassFile, | ||
| & | $classFile, | ||
| & | $instanceName | ||
| ) |
Definition at line 1255 of file ModuleHandler.class.php.
| ModuleHandler::_setHttpStatusMessage | ( | $code | ) |
get http status message by http status code
| string | $code |
Definition at line 1357 of file ModuleHandler.class.php.
| ModuleHandler::_setInputErrorToContext | ( | ) |
| ModuleHandler::_setInputValueToSession | ( | ) |
occured error when, set input values to session.
Definition at line 952 of file ModuleHandler.class.php.
| ModuleHandler::displayContent | ( | $oModule = NULL | ) |
display contents from executed module
| ModuleObject | $oModule | module instance |
Definition at line 967 of file ModuleHandler.class.php.
|
static |
Definition at line 184 of file ModuleHandler.class.php.
| & ModuleHandler::getModuleInstance | ( | $module, | |
$type = 'view', |
|||
$kind = '' |
|||
| ) |
It creates a module instance
| string | $module | module name |
| string | $type | instance type, (e.g., view, controller, model) |
| string | $kind | admin or svc |
Definition at line 1168 of file ModuleHandler.class.php.
| ModuleHandler::getModulePath | ( | $module | ) |
returns module's path
| string | $module | module name |
Definition at line 1155 of file ModuleHandler.class.php.
| ModuleHandler::init | ( | ) |
Initialization. It finds the target module based on module, mid, document_srl, and prepares to execute an action
Definition at line 211 of file ModuleHandler.class.php.
| ModuleHandler::procModule | ( | ) |
get a module instance and execute an action
Definition at line 410 of file ModuleHandler.class.php.
| ModuleHandler::shutdownHandler | ( | ) |
Definition at line 154 of file ModuleHandler.class.php.
| ModuleHandler::triggerCall | ( | $trigger_name, | |
| $called_position, | |||
| & | $obj | ||
| ) |
call a trigger
| string | $trigger_name | trigger's name to call |
| string | $called_position | called position |
| object | $obj | an object as a parameter to trigger |
Definition at line 1294 of file ModuleHandler.class.php.
|
static |
Definition at line 118 of file ModuleHandler.class.php.
| ModuleHandler::$act = NULL |
action
Definition at line 17 of file ModuleHandler.class.php.
| ModuleHandler::$document_srl = NULL |
Document Number.
Definition at line 19 of file ModuleHandler.class.php.
| ModuleHandler::$error = NULL |
an error code.
Definition at line 22 of file ModuleHandler.class.php.
| ModuleHandler::$httpStatusCode = NULL |
http status code.
Definition at line 23 of file ModuleHandler.class.php.
| ModuleHandler::$mid = NULL |
Module ID.
Definition at line 18 of file ModuleHandler.class.php.
| ModuleHandler::$module = NULL |
Module.
Definition at line 16 of file ModuleHandler.class.php.
| ModuleHandler::$module_info = NULL |
Module Info. Object.
Definition at line 21 of file ModuleHandler.class.php.
| ModuleHandler::$module_srl = NULL |
Module Number.
Definition at line 20 of file ModuleHandler.class.php.
1.8.5