PHP Class Google\Spreadsheet\Worksheet

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

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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

delete() public méthode

Delete this worksheet
public delete ( ) : null
Résultat null

getCellFeed() public méthode

Get the cell feed of this worksheet
public getCellFeed ( array $query = [] ) : CellFeed
$query array
Résultat CellFeed

getCellFeedUrl() public méthode

Get the cell feed url
public getCellFeedUrl ( ) : string
Résultat string

getColCount() public méthode

Get the number of columns in the worksheet
public getColCount ( ) : integer
Résultat integer

getCsv() public méthode

Get csv data of this worksheet
public getCsv ( ) : string
Résultat string

getEditUrl() public méthode

Get the edit url of the worksheet
public getEditUrl ( ) : string
Résultat string

getExportCsvUrl() public méthode

Get the export csv url
public getExportCsvUrl ( ) : string
Résultat string

getGid() public méthode

Get the worksheet GID
public getGid ( ) : integer
Résultat integer

getId() public méthode

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

getListFeed() public méthode

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
Résultat ListFeed

getListFeedUrl() public méthode

The url which is used to fetch the data of a worksheet as a list
public getListFeedUrl ( ) : string
Résultat string

getRowCount() public méthode

Get the number of rows in the worksheet
public getRowCount ( ) : integer
Résultat integer

getTitle() public méthode

Get the title of the worksheet
public getTitle ( ) : string
Résultat string

getUpdated() public méthode

Get the updated date
public getUpdated ( ) : DateTime
Résultat DateTime

getXml() public méthode

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

update() public méthode

Update worksheet
public update ( string $title = null, integer $colCount = null, integer $rowCount = null ) : void
$title string
$colCount integer
$rowCount integer
Résultat void