PHP Class Google\Spreadsheet\CellEntry

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

Protected Properties

Свойство 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

Méthodes publiques

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

Méthodes protégées

Méthode Description
setCellLocation ( ) : array Get the location of the cell.

Method Details

__construct() public méthode

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

getCellIdString() public méthode

public getCellIdString ( ) : string
Résultat string

getColumn() public méthode

Get the column number fo this cell
public getColumn ( ) : integer
Résultat integer

getContent() public méthode

Get the contents of the cell
public getContent ( ) : string
Résultat string

getEditUrl() public méthode

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

getInputValue() public méthode

Get the the of this cell from its XML
public getInputValue ( ) : string
Résultat string

getPostUrl() public méthode

Get post url
public getPostUrl ( ) : string
Résultat string

getRow() public méthode

Get the row number fo this cell
public getRow ( ) : integer
Résultat integer

getTitle() public méthode

Get the cell identifier e.g. A1
public getTitle ( ) : string
Résultat string

getXml() public méthode

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

setCellLocation() protected méthode

Get the location of the cell.
protected setCellLocation ( ) : array
Résultat array

setInputValue() public méthode

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

setPostUrl() public méthode

Set the post url
public setPostUrl ( $url ) : void
Résultat void

update() public méthode

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

Property Details

$column protected_oe property

The row number of this cell
protected int $column
Résultat integer

$content protected_oe property

The contents of this cell
protected string $content
Résultat string

$inputValue protected_oe property

The input value of this cell
protected string $inputValue
Résultat string

$postUrl protected_oe property

The url for making a post request
protected string $postUrl
Résultat string

$row protected_oe property

The row number of this cell
protected int $row
Résultat integer

$xml protected_oe property

Xml element for a cell entry
protected SimpleXMLElement $xml
Résultat SimpleXMLElement