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

Public Member Functions

 __construct ($lang=null, $type=null, $value=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getLang ()
 getType ()
 setLang ($lang)
 setType ($type)

Protected Member Functions

 takeAttributeFromDOM ($attribute)

Protected Attributes

 $_rootNamespace = 'gbs'
 $_rootElement = 'review'
 $_lang = null
 $_type = null

Detailed Description

Definition at line 38 of file Review.php.


Constructor & Destructor Documentation

__construct ( lang = null,
type = null,
value = null 
)

Constructor for Zend_Gdata_Books_Extension_Review which User-provided review

Parameters:
string | null$langReview language.
string | null$typeType of text construct (typically text, html, or xhtml).
string | null$valueText content of the review.

Definition at line 55 of file Review.php.

Here is the call graph for this function:


Member Function Documentation

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

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

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 74 of file Review.php.

getLang ( )

Returns the language of link title

Returns:
string The lang

Definition at line 111 of file Review.php.

getType ( )

Returns the type of text construct (typically 'text', 'html' or 'xhtml')

Returns:
string The type

Definition at line 121 of file Review.php.

setLang ( lang)

Sets the language of link title

Parameters:
string$langlanguage of link title
Returns:
Zend_Gdata_Books_Extension_Review Provides a fluent interface

Definition at line 132 of file Review.php.

setType ( type)

Sets the type of text construct (typically 'text', 'html' or 'xhtml')

Parameters:
string$typetype of text construct (typically 'text', 'html' or 'xhtml')
Returns:
Zend_Gdata_Books_Extension_Review Provides a fluent interface

Definition at line 144 of file Review.php.

takeAttributeFromDOM ( attribute) [protected]

Extracts XML attributes from the DOM and converts them to the appropriate object members.

Parameters:
DOMNode$attributeThe DOMNode attribute to be handled.

Reimplemented from Zend_Gdata_App_Base.

Definition at line 92 of file Review.php.


Field Documentation

$_lang = null [protected]

Definition at line 43 of file Review.php.

$_rootElement = 'review' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 42 of file Review.php.

$_rootNamespace = 'gbs' [protected]

Reimplemented from Zend_Gdata_Extension.

Definition at line 41 of file Review.php.

$_type = null [protected]

Definition at line 44 of file Review.php.


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