PHP Class MyPAGIApplication, PAGI

Note: The client accepts an array with options. The available options are stdin => Optional. If set, should contain an already open stream from where the client will read data (useful to make it interact with fastagi servers or even text files to mock stuff when testing). If not set, stdin will be used by the client. stdout => Optional. Same as stdin but for the output of the client. PHP Version 5
Author: Marcelo Gornstein ([email protected])
Inheritance: extends PAGI\Application\PAGIApplication
Afficher le fichier Open project: marcelog/pagi Class Usage Examples

Méthodes publiques

Méthode Description
errorHandler ( $type, $message, $file, $line ) (non-PHPdoc)
init ( ) (non-PHPdoc)
log ( string $msg ) : void Logs to asterisk console.
run ( ) (non-PHPdoc)
shutdown ( ) (non-PHPdoc)
signalHandler ( $signal ) (non-PHPdoc)

Method Details

errorHandler() public méthode

(non-PHPdoc)
public errorHandler ( $type, $message, $file, $line )

init() public méthode

(non-PHPdoc)
public init ( )

log() public méthode

Logs to asterisk console.
public log ( string $msg ) : void
$msg string Message to log.
Résultat void

run() public méthode

(non-PHPdoc)
public run ( )

shutdown() public méthode

(non-PHPdoc)
public shutdown ( )

signalHandler() public méthode

(non-PHPdoc)
public signalHandler ( $signal )