PHP Class Google\Spreadsheet\ListEntry

Author: Asim Liaquat ([email protected])
Mostra file Open project: asimlqt/php-google-spreadsheet-client

Protected Properties

Property Type Description
$data array The data for this list entry
$xml SimpleXMLElement The xml representation of this list entry

Public Methods

Method Description
__construct ( SimpleXMLElement $xml, array $data ) Constructor
delete ( ) Delete the current entry.
getEditUrl ( ) : string Get the edit url
getValues ( ) : array Get the values of this list entry
getXml ( ) : integer Get the raw XML
update ( array $values ) Update this entry

Method Details

__construct() public method

Constructor
public __construct ( SimpleXMLElement $xml, array $data )
$xml SimpleXMLElement
$data array

delete() public method

Delete the current entry.
public delete ( )

getEditUrl() public method

Get the edit url
public getEditUrl ( ) : string
return string

getValues() public method

Get the values of this list entry
public getValues ( ) : array
return array

getXml() public method

Get the raw XML
public getXml ( ) : integer
return integer

update() public method

Update this entry
public update ( array $values )
$values array

Property Details

$data protected_oe property

The data for this list entry
protected array $data
return array

$xml protected_oe property

The xml representation of this list entry
protected SimpleXMLElement $xml
return SimpleXMLElement