PHP Class Google\Spreadsheet\WorksheetFeed

Author: Asim Liaquat ([email protected])
Inheritance: extends ArrayIterato\ArrayIterator
Afficher le fichier Open project: asimlqt/php-google-spreadsheet-client Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

getById() public méthode

Get a worksheet by id
public getById ( string $id ) : Worksheet
$id string of the worksheet
Résultat Worksheet

getByTitle() public méthode

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

getEntries() public méthode

Get all worksheets in this feed
public getEntries ( ) : Worksheet[]
Résultat Worksheet[]

getId() public méthode

Get the feed id. Returns the full url.
public getId ( ) : string
Résultat string

getPostUrl() public méthode

Get the worksheet feed post url
public getPostUrl ( ) : string
Résultat string

getXml() public méthode

Get the raw XML
public getXml ( ) : integer
Résultat integer