PHP Class PAGI\Client\Result\FaxResult

PHP Version 5
Author: Marcelo Gornstein ([email protected])
Inheritance: extends ExecResult
Exibir arquivo Open project: marcelog/pagi Class Usage Examples

Public Methods

Method Description
__construct ( PAGI\Client\Result\IResult $result ) : void Constructor.
__toString ( ) (non-PHPdoc)
getBitrate ( ) : integer Returns bitrate.
getError ( ) : string Returns error description (if failed).
getLocalHeaderInfo ( ) : string Returns local header.
getLocalStationId ( ) : string Returns local station id.
getPages ( ) : integer Returns number of pages.
getRemoteStationId ( ) : string Returns remote station id.
getResolution ( ) : string Returns resolution for the operation.
isSuccess ( ) : boolean True if the operation was successfull.
setBitrate ( integer $value ) : void Sets bitrate.
setError ( string $value ) : void Sets error detail.
setLocalHeaderInfo ( string $value ) : void Sets local header.
setLocalStationId ( string $value ) : void Sets local station id.
setPages ( integer $value ) : void Sets number of pages.
setRemoteStationId ( string $value ) : void Sets remote station id.
setResolution ( string $value ) : void Sets resolution.
setResult ( string $value ) : void Sets operation result (if failed).

Method Details

__construct() public method

Constructor.
public __construct ( PAGI\Client\Result\IResult $result ) : void
$result PAGI\Client\Result\IResult Result to decorate.
return void

__toString() public method

(non-PHPdoc)
public __toString ( )

getBitrate() public method

Returns bitrate.
public getBitrate ( ) : integer
return integer

getError() public method

Returns error description (if failed).
public getError ( ) : string
return string

getLocalHeaderInfo() public method

Returns local header.
public getLocalHeaderInfo ( ) : string
return string

getLocalStationId() public method

Returns local station id.
public getLocalStationId ( ) : string
return string

getPages() public method

Returns number of pages.
public getPages ( ) : integer
return integer

getRemoteStationId() public method

Returns remote station id.
public getRemoteStationId ( ) : string
return string

getResolution() public method

Returns resolution for the operation.
public getResolution ( ) : string
return string

isSuccess() public method

True if the operation was successfull.
public isSuccess ( ) : boolean
return boolean

setBitrate() public method

Sets bitrate.
public setBitrate ( integer $value ) : void
$value integer Value to set.
return void

setError() public method

Sets error detail.
public setError ( string $value ) : void
$value string Value to set.
return void

setLocalHeaderInfo() public method

Sets local header.
public setLocalHeaderInfo ( string $value ) : void
$value string Value to set.
return void

setLocalStationId() public method

Sets local station id.
public setLocalStationId ( string $value ) : void
$value string Value to set.
return void

setPages() public method

Sets number of pages.
public setPages ( integer $value ) : void
$value integer Value to set.
return void

setRemoteStationId() public method

Sets remote station id.
public setRemoteStationId ( string $value ) : void
$value string Value to set.
return void

setResolution() public method

Sets resolution.
public setResolution ( string $value ) : void
$value string Value to set.
return void

setResult() public method

Sets operation result (if failed).
public setResult ( string $value ) : void
$value string Value to set.
return void