PHP Class Google\Spreadsheet\CellEntry

Author: Asim Liaquat ([email protected])
Inheritance: extends ArrayIterator
ファイルを表示 Open project: asimlqt/php-google-spreadsheet-client Class Usage Examples

Protected Properties

Property Type Description
$column integer The row number of this cell
$content string The contents of this cell
$inputValue string The input value of this cell
$postUrl string The url for making a post request
$row integer The row number of this cell
$xml SimpleXMLElement Xml element for a cell entry

Public Methods

Method Description
__construct ( SimpleXMLElement $xml, string $postUrl ) Constructor
getCellIdString ( ) : string
getColumn ( ) : integer Get the column number fo this cell
getContent ( ) : string Get the contents of the cell
getEditUrl ( ) : string Get the edit url of the cell
getInputValue ( ) : string Get the the of this cell from its XML
getPostUrl ( ) : string Get post url
getRow ( ) : integer Get the row number fo this cell
getTitle ( ) : string Get the cell identifier e.g. A1
getXml ( ) : integer Get the raw XML
setInputValue ( string $inputValue ) Set the input value of this cell
setPostUrl ( $url ) : void Set the post url
update ( string $value ) : null Update the cell value

Protected Methods

Method Description
setCellLocation ( ) : array Get the location of the cell.

Method Details

__construct() public method

Constructor
public __construct ( SimpleXMLElement $xml, string $postUrl )
$xml SimpleXMLElement
$postUrl string

getCellIdString() public method

public getCellIdString ( ) : string
return string

getColumn() public method

Get the column number fo this cell
public getColumn ( ) : integer
return integer

getContent() public method

Get the contents of the cell
public getContent ( ) : string
return string

getEditUrl() public method

Get the edit url of the cell
public getEditUrl ( ) : string
return string

getInputValue() public method

Get the the of this cell from its XML
public getInputValue ( ) : string
return string

getPostUrl() public method

Get post url
public getPostUrl ( ) : string
return string

getRow() public method

Get the row number fo this cell
public getRow ( ) : integer
return integer

getTitle() public method

Get the cell identifier e.g. A1
public getTitle ( ) : string
return string

getXml() public method

Get the raw XML
public getXml ( ) : integer
return integer

setCellLocation() protected method

Get the location of the cell.
protected setCellLocation ( ) : array
return array

setInputValue() public method

Set the input value of this cell
public setInputValue ( string $inputValue )
$inputValue string

setPostUrl() public method

Set the post url
public setPostUrl ( $url ) : void
return void

update() public method

Update the cell value
public update ( string $value ) : null
$value string Can be a simple constant value or a formula
return null

Property Details

$column protected_oe property

The row number of this cell
protected int $column
return integer

$content protected_oe property

The contents of this cell
protected string $content
return string

$inputValue protected_oe property

The input value of this cell
protected string $inputValue
return string

$postUrl protected_oe property

The url for making a post request
protected string $postUrl
return string

$row protected_oe property

The row number of this cell
protected int $row
return integer

$xml protected_oe property

Xml element for a cell entry
protected SimpleXMLElement $xml
return SimpleXMLElement