Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Gdata_Books_Extension_Review Class Reference

Public Member Functions

 __construct ($lang=null, $type=null, $value=null)
 Constructor for Zend_Gdata_Books_Extension_Review which User-provided review.
 
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 Retrieves DOMElement which corresponds to this element and all child properties.
 
 getLang ()
 Returns the language of link title.
 
 getType ()
 Returns the type of text construct (typically 'text', 'html' or 'xhtml')
 
 setLang ($lang)
 Sets the language of link title.
 
 setType ($type)
 Sets the type of text construct (typically 'text', 'html' or 'xhtml')
 
- Public Member Functions inherited from Zend_Gdata_Extension
 __construct ()
 

Protected Member Functions

 takeAttributeFromDOM ($attribute)
 Extracts XML attributes from the DOM and converts them to the appropriate object members.
 

Protected Attributes

 $_rootNamespace = 'gbs'
 
 $_rootElement = 'review'
 
 $_lang = null
 
 $_type = null
 
- Protected Attributes inherited from Zend_Gdata_Extension
 $_rootNamespace = 'gd'
 

Additional Inherited Members

- Static Public Member Functions inherited from Zend_Gdata_App_Base
static flushNamespaceLookupCache ()
 Flush namespace lookup cache.
 
- Static Protected Attributes inherited from Zend_Gdata_App_Base
static $_namespaceLookupCache = array()
 

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.

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.
getLang ( )

Returns the language of link title.

Returns
string The lang
getType ( )

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

Returns
string The type
setLang (   $lang)

Sets the language of link title.

Parameters
string$langlanguage of link title
Returns
Zend_Gdata_Books_Extension_Review Provides a fluent interface
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
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.

Member Data Documentation

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