PHP Interface PAGI\Client\Result\IResult

PHP Version 5
Author: Marcelo Gornstein ([email protected])
Afficher le fichier Open project: marcelog/pagi

Méthodes publiques

Méthode Description
getCode ( ) : integer Returns the integer value of the code returned by agi.
getData ( ) : string Returns data, if any. False if none.
getOriginalLine ( ) : string Returns original line.
getResult ( ) : integer Returns result (result=xxx) from the result.
hasData ( ) : boolean Returns true if this command returned any data.
isResult ( string $value ) : boolean Compares result to a given value.

Method Details

getCode() public méthode

Returns the integer value of the code returned by agi.
public getCode ( ) : integer
Résultat integer

getData() public méthode

Returns data, if any. False if none.
public getData ( ) : string
Résultat string

getOriginalLine() public méthode

Returns original line.
public getOriginalLine ( ) : string
Résultat string

getResult() public méthode

Returns result (result=xxx) from the result.
public getResult ( ) : integer
Résultat integer

hasData() public méthode

Returns true if this command returned any data.
public hasData ( ) : boolean
Résultat boolean

isResult() public méthode

Compares result to a given value.
public isResult ( string $value ) : boolean
$value string Value to match against.
Résultat boolean