PHP Class Sirprize\Basecamp\TimeEntry\Entity

Exibir arquivo Open project: sirprize/basecamp Class Usage Examples

Protected Properties

Property Type Description
$_data
$_httpClient
$_loaded
$_response
$_service

Public Methods

Method Description
getDate ( )
getDescription ( )
getHours ( )
getId ( ) : Sirprize\Basecamp\Id
getPersonId ( )
getProjectId ( )
getResponse ( ) : Sirprize\Basecamp\Response | null Get response object
getTodoItemID ( )
load ( SimpleXMLElement $xml, $force = false ) : Sirprize\Basecamp\TimeEntry Load data returned from an api request
setHttpClient ( Zend_Http_Client $httpClient )
setService ( Sirprize\Basecamp\Service $service )

Protected Methods

Method Description
_checkIsLoaded ( )
_getHttpClient ( )
_getService ( )
_getVal ( $name )

Method Details

_checkIsLoaded() protected method

protected _checkIsLoaded ( )

_getHttpClient() protected method

protected _getHttpClient ( )

_getService() protected method

protected _getService ( )

_getVal() protected method

protected _getVal ( $name )

getDate() public method

public getDate ( )

getDescription() public method

public getDescription ( )

getHours() public method

public getHours ( )

getId() public method

public getId ( ) : Sirprize\Basecamp\Id
return Sirprize\Basecamp\Id

getPersonId() public method

public getPersonId ( )

getProjectId() public method

public getProjectId ( )

getResponse() public method

Get response object
public getResponse ( ) : Sirprize\Basecamp\Response | null
return Sirprize\Basecamp\Response | null

getTodoItemID() public method

public getTodoItemID ( )

load() public method

Load data returned from an api request
public load ( SimpleXMLElement $xml, $force = false ) : Sirprize\Basecamp\TimeEntry
$xml SimpleXMLElement
return Sirprize\Basecamp\TimeEntry

setHttpClient() public method

public setHttpClient ( Zend_Http_Client $httpClient )
$httpClient Zend_Http_Client

setService() public method

public setService ( Sirprize\Basecamp\Service $service )
$service Sirprize\Basecamp\Service

Property Details

$_data protected_oe property

protected $_data

$_httpClient protected_oe property

protected $_httpClient

$_loaded protected_oe property

protected $_loaded

$_response protected_oe property

protected $_response

$_service protected_oe property

protected $_service