PHP Класс Google\Spreadsheet\Worksheet

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

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

Метод Описание
__construct ( SimpleXMLElement $xml ) Initializes the worksheet object.
delete ( ) : null Delete this worksheet
getCellFeed ( array $query = [] ) : CellFeed Get the cell feed of this worksheet
getCellFeedUrl ( ) : string Get the cell feed url
getColCount ( ) : integer Get the number of columns in the worksheet
getCsv ( ) : string Get csv data of this worksheet
getEditUrl ( ) : string Get the edit url of the worksheet
getExportCsvUrl ( ) : string Get the export csv url
getGid ( ) : integer Get the worksheet GID
getId ( ) : string Get the worksheet id. Returns the full url.
getListFeed ( array $query = [] ) : ListFeed Get the list feed of this worksheet
getListFeedUrl ( ) : string The url which is used to fetch the data of a worksheet as a list
getRowCount ( ) : integer Get the number of rows in the worksheet
getTitle ( ) : string Get the title of the worksheet
getUpdated ( ) : DateTime Get the updated date
getXml ( ) : integer Get the raw XML
update ( string $title = null, integer $colCount = null, integer $rowCount = null ) : void Update worksheet

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

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

Initializes the worksheet object.
public __construct ( SimpleXMLElement $xml )
$xml SimpleXMLElement

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

Delete this worksheet
public delete ( ) : null
Результат null

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

Get the cell feed of this worksheet
public getCellFeed ( array $query = [] ) : CellFeed
$query array
Результат CellFeed

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

Get the cell feed url
public getCellFeedUrl ( ) : string
Результат string

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

Get the number of columns in the worksheet
public getColCount ( ) : integer
Результат integer

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

Get csv data of this worksheet
public getCsv ( ) : string
Результат string

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

Get the edit url of the worksheet
public getEditUrl ( ) : string
Результат string

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

Get the export csv url
public getExportCsvUrl ( ) : string
Результат string

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

Get the worksheet GID
public getGid ( ) : integer
Результат integer

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

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

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

Get the list feed of this worksheet
public getListFeed ( array $query = [] ) : ListFeed
$query array add additional query params to the url to sort/filter the results
Результат ListFeed

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

The url which is used to fetch the data of a worksheet as a list
public getListFeedUrl ( ) : string
Результат string

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

Get the number of rows in the worksheet
public getRowCount ( ) : integer
Результат integer

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

Get the title of the worksheet
public getTitle ( ) : string
Результат string

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

Get the updated date
public getUpdated ( ) : DateTime
Результат DateTime

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

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

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

Update worksheet
public update ( string $title = null, integer $colCount = null, integer $rowCount = null ) : void
$title string
$colCount integer
$rowCount integer
Результат void