PHP Class Google\Spreadsheet\WorksheetFeed

Author: Asim Liaquat ([email protected])
Inheritance: extends ArrayIterato\ArrayIterator
ファイルを表示 Open project: asimlqt/php-google-spreadsheet-client Class Usage Examples

Public Methods

Method Description
__construct ( SimpleXMLElement $xml ) Initializes thie worksheet feed object
getById ( string $id ) : Worksheet Get a worksheet by id
getByTitle ( string $title ) : Worksheet Get a worksheet by title (name)
getEntries ( ) : Worksheet[] Get all worksheets in this feed
getId ( ) : string Get the feed id. Returns the full url.
getPostUrl ( ) : string Get the worksheet feed post url
getXml ( ) : integer Get the raw XML

Method Details

__construct() public method

Initializes thie worksheet feed object
public __construct ( SimpleXMLElement $xml )
$xml SimpleXMLElement

getById() public method

Get a worksheet by id
public getById ( string $id ) : Worksheet
$id string of the worksheet
return Worksheet

getByTitle() public method

Get a worksheet by title (name)
public getByTitle ( string $title ) : Worksheet
$title string name of the worksheet
return Worksheet

getEntries() public method

Get all worksheets in this feed
public getEntries ( ) : Worksheet[]
return Worksheet[]

getId() public method

Get the feed id. Returns the full url.
public getId ( ) : string
return string

getPostUrl() public method

Get the worksheet feed post url
public getPostUrl ( ) : string
return string

getXml() public method

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