[ Index ]
 

Code source de PHPonTrax 2.6.6-svn

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/vendor/trax/ -> php_shell.php (sommaire)

(PHP 5)

Copyright: (c) 2005 John Peterson
Version: $Id:$
Poids: 122 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 vendor/trax/php_shell/shell.php

Définit 2 fonctions

  __shell_default_error_handler()
  __autoload()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

__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 20:04:38 2007 par Balluche grâce à PHPXref 0.7