Go to the source code of this file.
Namespaces | |
| FDL | |
Functions | |
| getMainAction ($auth, &$action) | |
| stripUrlSlahes ($url) | |
| initExplorerParam (Application &$app, $defaultValue=false) | |
| getExplorerParamtersName () | |
| initExplorerWebParam (Application &$app) | |
| initMainVolatileParam (Application &$core, Session &$session=null) | |
| _initMainVolatileParamCli (Application &$core) | |
| _initMainVolatileParamWeb (Application &$core, Session &$session=null) | |
| executeAction (&$action, &$out=null) | |
| checkWshExecUid ($file) | |
| isInteractiveCLI () | |
| _wsh_send_error ($errMsg, $expand=array()) | |
| _wsh_exception_handler ($e, $callStack=true) | |
| _wsh_shutdown_handler () | |
| enable_wsh_safetybelts () | |
| formatErrorLogException ($e) | |
| errorLogException ($e) | |
| handleFatalShutdown () | |
| _initMainVolatileParamCli | ( | Application & | $core | ) |
| _initMainVolatileParamWeb | ( | Application & | $core, |
| Session & | $session = null |
||
| ) |
| _wsh_exception_handler | ( | $e, | |
$callStack = true |
|||
| ) |
Handle exceptions by logging errors or by sending mails depending if the program is used in a CLI or not.
| Throwable | $e | |
| bool | $callStack | If set to false: the error message is minimal. Otherwise the error message is the call stack. |
Definition at line 457 of file Lib.Main.php.
| _wsh_send_error | ( | $errMsg, | |
$expand = array() |
|||
| ) |
Definition at line 441 of file Lib.Main.php.
| _wsh_shutdown_handler | ( | ) |
Definition at line 476 of file Lib.Main.php.
| checkWshExecUid | ( | $file | ) |
Definition at line 362 of file Lib.Main.php.
| enable_wsh_safetybelts | ( | ) |
Definition at line 538 of file Lib.Main.php.
| errorLogException | ( | $e | ) |
| Exception | Error | $e |
Definition at line 555 of file Lib.Main.php.
| executeAction | ( | & | $action, |
| & | $out = null |
||
| ) |
execute action app and action http param
| Action | $action | |
| string | $out |
Definition at line 323 of file Lib.Main.php.
Here is the call graph for this function:| formatErrorLogException | ( | $e | ) |
| Throwable | $e |
Definition at line 548 of file Lib.Main.php.
| getExplorerParamtersName | ( | ) |
Definition at line 153 of file Lib.Main.php.
| getMainAction | ( | $auth, | |
| & | $action | ||
| ) |
| Authenticator | $auth | |
| Action | $action |
Definition at line 21 of file Lib.Main.php.
Here is the call graph for this function:| handleFatalShutdown | ( | ) |
Definition at line 560 of file Lib.Main.php.
| initExplorerParam | ( | Application & | $app, |
$defaultValue = false |
|||
| ) |
init user agent volatile param
| Application | $app | |
| mixed | $defaultValue |
Definition at line 142 of file Lib.Main.php.
Here is the call graph for this function:| initExplorerWebParam | ( | Application & | $app | ) |
set volatile patram to detect web user agent
| Application | $app |
Definition at line 171 of file Lib.Main.php.
| initMainVolatileParam | ( | Application & | $core, |
| Session & | $session = null |
||
| ) |
Set various core URLs params
| Application | $core | |
| Session | $session |
Definition at line 244 of file Lib.Main.php.
Here is the call graph for this function:| isInteractiveCLI | ( | ) |
Definition at line 430 of file Lib.Main.php.
| stripUrlSlahes | ( | $url | ) |
Definition at line 132 of file Lib.Main.php.