PHP 클래스 Google\Spreadsheet\Worksheet

저자: Asim Liaquat ([email protected])
파일 보기 프로젝트 열기: asimlqt/php-google-spreadsheet-client 1 사용 예제들

공개 메소드들

메소드 설명
__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