PHP 클래스 Google\Spreadsheet\CellFeed

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

보호된 프로퍼티들

프로퍼티 타입 설명
$entries array
$xml SimpleXMLElement The xml representation of the feed

공개 메소드들

메소드 설명
__construct ( SimpleXMLElement $xml ) Constructor
createCell ( integer $row, integer $col, string $value ) : CellEntry Create a entry to insert data
editCell ( integer $rowNum, integer $colNum, string $value ) : void Edit a single cell. the row and column indexing start at 1.
getBatchUrl ( ) : string
getCell ( integer $row, integer $col ) : CellEntry | null
getEntries ( ) : array Get the feed entries
getId ( ) : string Get the feed id. Returns the full url.
getPostUrl ( ) : string Get the feed post url
getXml ( ) : integer Get the raw XML
insertBatch ( BatchRequest $batchRequest ) : BatchResponse
toArray ( ) : array Returns the feed entries as a two-dimensional array, indexed by row/column number. Array may be sparse, if returned cell data is sparse.
updateBatch ( BatchRequest $batchRequest ) : BatchResponse

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( SimpleXMLElement $xml )
$xml SimpleXMLElement

createCell() 공개 메소드

Create a entry to insert data
public createCell ( integer $row, integer $col, string $value ) : CellEntry
$row integer
$col integer
$value string
리턴 CellEntry

editCell() 공개 메소드

So the first column of the first row will be (1,1).
public editCell ( integer $rowNum, integer $colNum, string $value ) : void
$rowNum integer Row number
$colNum integer Column number
$value string Can also be a formula
리턴 void

getBatchUrl() 공개 메소드

public getBatchUrl ( ) : string
리턴 string

getCell() 공개 메소드

public getCell ( integer $row, integer $col ) : CellEntry | null
$row integer
$col integer
리턴 CellEntry | null

getEntries() 공개 메소드

Get the feed entries
public getEntries ( ) : array
리턴 array \Google\Spreadsheet\CellEntry

getId() 공개 메소드

Get the feed id. Returns the full url.
public getId ( ) : string
리턴 string

getPostUrl() 공개 메소드

Get the feed post url
public getPostUrl ( ) : string
리턴 string

getXml() 공개 메소드

Get the raw XML
public getXml ( ) : integer
리턴 integer

insertBatch() 공개 메소드

public insertBatch ( BatchRequest $batchRequest ) : BatchResponse
$batchRequest Google\Spreadsheet\Batch\BatchRequest
리턴 Google\Spreadsheet\Batch\BatchResponse

toArray() 공개 메소드

Returns the feed entries as a two-dimensional array, indexed by row/column number. Array may be sparse, if returned cell data is sparse.
public toArray ( ) : array
리턴 array

updateBatch() 공개 메소드

public updateBatch ( BatchRequest $batchRequest ) : BatchResponse
$batchRequest Google\Spreadsheet\Batch\BatchRequest
리턴 Google\Spreadsheet\Batch\BatchResponse

프로퍼티 상세

$entries 보호되어 있는 프로퍼티

protected array $entries
리턴 array

$xml 보호되어 있는 프로퍼티

The xml representation of the feed
protected SimpleXMLElement $xml
리턴 SimpleXMLElement