PHP Класс Google\Spreadsheet\SpreadsheetFeed

Автор: Asim Liaquat ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$xml SimpleXMLElement The spreadsheet feed xml object

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

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

getById() публичный Метод

Gets a spreadhseet from the feed by its ID in google drive.
public getById ( string $id ) : Spreadsheet
$id string
Результат Spreadsheet

getByTitle() публичный Метод

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
Результат Spreadsheet

getEntries() публичный Метод

Get all spreadsheets in the feed
public getEntries ( ) : Spreadsheet[]
Результат Spreadsheet[]

getId() публичный Метод

Get the feed id. Returns the full url.
public getId ( ) : string
Результат string

getXml() публичный Метод

Get the raw XML
public getXml ( ) : integer
Результат integer

Описание свойств

$xml защищенное свойство

The spreadsheet feed xml object
protected SimpleXMLElement $xml
Результат SimpleXMLElement