PHP Class DummyCurl

Exibir arquivo Open project: mpyw/co Class Usage Examples

Public Methods

Method Description
__construct ( string $identifier, integer $cost, boolean $error = false )
__toString ( ) : string
alreadyRead ( ) : boolean
done ( ) : boolean
errno ( ) : integer
errstr ( ) : string
getContent ( ) : string
getMultiHandle ( DummyCurlMulti $mh )
prepared ( ) : boolean
read ( )
reset ( )
running ( ) : boolean
setMultiHandle ( DummyCurlMulti $mh )
startedAt ( ) : integer
stoppedAt ( ) : integer
update ( integer $exec_count )

Method Details

__construct() public method

public __construct ( string $identifier, integer $cost, boolean $error = false )
$identifier string
$cost integer
$error boolean

__toString() public method

public __toString ( ) : string
return string

alreadyRead() public method

public alreadyRead ( ) : boolean
return boolean

done() public method

public done ( ) : boolean
return boolean

errno() public method

public errno ( ) : integer
return integer

errstr() public method

public errstr ( ) : string
return string

getContent() public method

public getContent ( ) : string
return string

getMultiHandle() public method

public getMultiHandle ( DummyCurlMulti $mh )
$mh DummyCurlMulti

prepared() public method

public prepared ( ) : boolean
return boolean

read() public method

public read ( )

reset() public method

public reset ( )

running() public method

public running ( ) : boolean
return boolean

setMultiHandle() public method

public setMultiHandle ( DummyCurlMulti $mh )
$mh DummyCurlMulti

startedAt() public method

public startedAt ( ) : integer
return integer

stoppedAt() public method

public stoppedAt ( ) : integer
return integer

update() public method

public update ( integer $exec_count )
$exec_count integer