| [ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
the wrapper around the PHP_Shell class - load extensions - set default error-handler - add exec-hooks for the extensions
| __shell_default_error_handler($errno, $errstr, $errfile, $errline, $errctx) X-Ref |
| default error-handler Instead of printing the NOTICE or WARNING from php we wan't the turn non-FATAL messages into exceptions and handle them in our own way. you can set your own error-handler by createing a function named __shell_error_handler param: integer $errno Error-Number param: string $errstr Error-Message param: string $errfile Filename where the error was raised param: interger $errline Line-Number in the File param: mixed $errctx ... |
| __autoload($classname) X-Ref |
| default autoloader If a class doesn't exist try to load it by guessing the filename class PHP_Shell should be located in PHP/Shell.php. you can set your own autoloader by defining __autoload() before including this file param: string $classname name of the class |
| Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |