Gdata/Spreadsheets/Extension/Cell.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Gdata  
Subpackage
Spreadsheets  
Version
$Id$  

\Zend_Gdata_Spreadsheets_Extension_Cell

Package: Zend_Gdata\Spreadsheets
Concrete class for working with cell elements.
Parent(s)
\Zend_Gdata_Extension < \Zend_Gdata_App_Extension < \Zend_Gdata_App_Base
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedstring $_col = null
The column attribute of this cell
Default valuenullDetails
Type
string
>VPropertyprotectedstring $_inputValue = null
The inputValue attribute of this cell
Default valuenullDetails
Type
string
>VPropertyprotectedstring $_numericValue = null
The numericValue attribute of this cell
Default valuenullDetails
Type
string
>VPropertyprotected$_rootElement = 'cell'
Default value'cell'Details
Type
n/a
>VPropertyprotected$_rootNamespace = 'gs'
Default value'gs'Details
Type
n/a
>VPropertyprotectedstring $_row = null
The row attribute of this cell
Default valuenullDetails
Type
string

Methods

methodpublic__construct(string $text = null, string $row = null, string $col = null, string $inputValue = null, string $numericValue = null) : void

Constructs a new Zend_Gdata_Spreadsheets_Extension_Cell element.

Parameters
NameTypeDescription
$textstring

(optional) Text contents of the element.

$rowstring

(optional) Row attribute of the element.

$colstring

(optional) Column attribute of the element.

$inputValuestring

(optional) Input value attribute of the element.

$numericValuestring

(optional) Numeric value attribute of the element.

methodpublicgetColumn() : string

Gets the column attribute of the Cell element.

Returns
TypeDescription
stringColumn of the Cell.
methodpublicgetDOM( $doc = null,  $majorVersion = 1,  $minorVersion = null) : void

Parameters
NameTypeDescription
$doc
$majorVersion
$minorVersion
methodpublicgetInputValue() : string

Gets the input value attribute of the Cell element.

Returns
TypeDescription
stringInput value of the Cell.
methodpublicgetNumericValue() : string

Gets the numeric value attribute of the Cell element.

Returns
TypeDescription
stringNumeric value of the Cell.
methodpublicgetRow() : string

Gets the row attribute of the Cell element.

Returns
TypeDescription
stringRow of the Cell.
methodpublicsetColumn(string $col) : void

Sets the column attribute of the Cell element.

Parameters
NameTypeDescription
$colstring

New column of the Cell.

methodpublicsetInputValue(string $inputValue) : void

Sets the input value attribute of the Cell element.

Parameters
NameTypeDescription
$inputValuestring

New input value of the Cell.

methodpublicsetNumericValue(string $numericValue) : void

Sets the numeric value attribute of the Cell element.

Parameters
NameTypeDescription
$numericValuestring

New numeric value of the Cell.

methodpublicsetRow(string $row) : void

Sets the row attribute of the Cell element.

Parameters
NameTypeDescription
$rowstring

New row of the Cell.

methodprotectedtakeAttributeFromDOM( $attribute) : void

Parameters
NameTypeDescription
$attribute
Documentation was generated by phpDocumentor 2.2.0 .