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

Public Member Functions

 __construct ($term=null, $scheme=null, $label=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getTerm ()
 setTerm ($value)
 getScheme ()
 setScheme ($value)
 getLabel ()
 setLabel ($value)

Protected Member Functions

 takeAttributeFromDOM ($attribute)

Protected Attributes

 $_rootElement = 'category'
 $_term = null
 $_scheme = null
 $_label = null

Detailed Description

Definition at line 38 of file Category.php.


Constructor & Destructor Documentation

__construct ( term = null,
scheme = null,
label = null 
)

Reimplemented in Zend_Gdata_Books_Extension_BooksCategory.

Definition at line 46 of file Category.php.

Here is the call graph for this function:


Member Function Documentation

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 54 of file Category.php.

getLabel ( )
Returns:
string|null

Definition at line 125 of file Category.php.

getScheme ( )
Returns:
string|null

Definition at line 107 of file Category.php.

getTerm ( )
Returns:
string|null

Definition at line 89 of file Category.php.

setLabel ( value)
Parameters:
string | null$value
Returns:
Zend_Gdata_App_Extension_Category Provides a fluent interface

Definition at line 134 of file Category.php.

setScheme ( value)
Parameters:
string | null$value
Returns:
Zend_Gdata_App_Extension_Category Provides a fluent interface

Definition at line 116 of file Category.php.

setTerm ( value)
Parameters:
string | null$value
Returns:
Zend_Gdata_App_Extension_Category Provides a fluent interface

Definition at line 98 of file Category.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 69 of file Category.php.


Field Documentation

$_label = null [protected]

Definition at line 44 of file Category.php.

$_rootElement = 'category' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 41 of file Category.php.

$_scheme = null [protected]

Definition at line 43 of file Category.php.

$_term = null [protected]

Definition at line 42 of file Category.php.


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