Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_Spreadsheets_Extension_Cell Class Reference
Inheritance diagram for Zend_Gdata_Spreadsheets_Extension_Cell:
Collaboration diagram for Zend_Gdata_Spreadsheets_Extension_Cell:

Public Member Functions

 __construct ($text=null, $row=null, $col=null, $inputValue=null, $numericValue=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getRow ()
 getColumn ()
 getInputValue ()
 getNumericValue ()
 setRow ($row)
 setColumn ($col)
 setInputValue ($inputValue)
 setNumericValue ($numericValue)

Protected Member Functions

 takeAttributeFromDOM ($attribute)

Protected Attributes

 $_rootElement = 'cell'
 $_rootNamespace = 'gs'
 $_row = null
 $_col = null
 $_inputValue = null
 $_numericValue = null

Detailed Description

Definition at line 43 of file Cell.php.


Constructor & Destructor Documentation

__construct ( text = null,
row = null,
col = null,
inputValue = null,
numericValue = null 
)

Constructs a new Zend_Gdata_Spreadsheets_Extension_Cell element.

Parameters:
string$text(optional) Text contents of the element.
string$row(optional) Row attribute of the element.
string$col(optional) Column attribute of the element.
string$inputValue(optional) Input value attribute of the element.
string$numericValue(optional) Numeric value attribute of the element.

Definition at line 85 of file Cell.php.

Here is the call graph for this function:


Member Function Documentation

getColumn ( )

Gets the column attribute of the Cell element.

Returns:
string Column of the Cell.

Definition at line 139 of file Cell.php.

getDOM ( doc = null,
majorVersion = 1,
minorVersion = null 
)

Retrieves a DOMElement which corresponds to this element and all child properties. This is used to build an entry back into a DOM and eventually XML text for sending to the server upon updates, or for application storage/persistence.

Parameters:
DOMDocument$docThe DOMDocument used to construct DOMElements
Returns:
DOMElement The DOMElement representing this element and all child properties.

Reimplemented from Zend_Gdata_App_Base.

Definition at line 96 of file Cell.php.

Gets the input value attribute of the Cell element.

Returns:
string Input value of the Cell.

Definition at line 148 of file Cell.php.

Gets the numeric value attribute of the Cell element.

Returns:
string Numeric value of the Cell.

Definition at line 157 of file Cell.php.

getRow ( )

Gets the row attribute of the Cell element.

Returns:
string Row of the Cell.

Definition at line 130 of file Cell.php.

setColumn ( col)

Sets the column attribute of the Cell element.

Parameters:
string$colNew column of the Cell.

Definition at line 176 of file Cell.php.

setInputValue ( inputValue)

Sets the input value attribute of the Cell element.

Parameters:
string$inputValueNew input value of the Cell.

Definition at line 186 of file Cell.php.

setNumericValue ( numericValue)

Sets the numeric value attribute of the Cell element.

Parameters:
string$numericValueNew numeric value of the Cell.

Definition at line 196 of file Cell.php.

setRow ( row)

Sets the row attribute of the Cell element.

Parameters:
string$rowNew row of the Cell.

Definition at line 166 of file Cell.php.

takeAttributeFromDOM ( attribute) [protected]

Given a DOMNode representing an attribute, tries to map the data into instance members. If no mapping is defined, the name and value are stored in an array.

Parameters:
DOMNode$attributeThe DOMNode attribute needed to be handled

Reimplemented from Zend_Gdata_App_Base.

Definition at line 106 of file Cell.php.


Field Documentation

$_col = null [protected]

Definition at line 60 of file Cell.php.

$_inputValue = null [protected]

Definition at line 67 of file Cell.php.

$_numericValue = null [protected]

Definition at line 74 of file Cell.php.

$_rootElement = 'cell' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 45 of file Cell.php.

$_rootNamespace = 'gs' [protected]

Reimplemented from Zend_Gdata_Extension.

Definition at line 46 of file Cell.php.

$_row = null [protected]

Definition at line 53 of file Cell.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations