PHP Class Google\Spreadsheet\SpreadsheetFeed

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

Protected Properties

Свойство Type Description
$xml SimpleXMLElement The spreadsheet feed xml object

Méthodes publiques

Méthode Description
__construct ( SimpleXMLElement $xml ) Initializes the spreadsheet feed object
getById ( string $id ) : Spreadsheet Gets a spreadhseet from the feed by its ID in google drive.
getByTitle ( string $title ) : Spreadsheet Gets a spreadhseet from the feed by its title. i.e. the name of the spreadsheet in google drive. This method will return only the first spreadsheet found with the specified title.
getEntries ( ) : Spreadsheet[] Get all spreadsheets in the feed
getId ( ) : string Get the feed id. Returns the full url.
getXml ( ) : integer Get the raw XML

Method Details

__construct() public méthode

Initializes the spreadsheet feed object
public __construct ( SimpleXMLElement $xml )
$xml SimpleXMLElement

getById() public méthode

Gets a spreadhseet from the feed by its ID in google drive.
public getById ( string $id ) : Spreadsheet
$id string
Résultat Spreadsheet

getByTitle() public méthode

Gets a spreadhseet from the feed by its title. i.e. the name of the spreadsheet in google drive. This method will return only the first spreadsheet found with the specified title.
public getByTitle ( string $title ) : Spreadsheet
$title string
Résultat Spreadsheet

getEntries() public méthode

Get all spreadsheets in the feed
public getEntries ( ) : Spreadsheet[]
Résultat Spreadsheet[]

getId() public méthode

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

getXml() public méthode

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

Property Details

$xml protected_oe property

The spreadsheet feed xml object
protected SimpleXMLElement $xml
Résultat SimpleXMLElement