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

Public Member Functions

 __construct ($value=null)
 Constructor for Zend_Gdata_Books_Extension_Viewability which Describes a viewability.
 
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 Retrieves DOMElement which corresponds to this element and all child properties.
 
 getValue ()
 Returns the programmatic value that describes the viewability of a volume in Google Book Search.
 
 setValue ($value)
 Sets the programmatic value that describes the viewability of a volume in Google Book Search.
 
- 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 = 'viewability'
 
 $_value = 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 (   $value = null)

Constructor for Zend_Gdata_Books_Extension_Viewability which Describes a viewability.

Parameters
string | null$valueA programmatic value representing the book's viewability mode.

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

Returns the programmatic value that describes the viewability of a volume in Google Book Search.

Returns
string The value
setValue (   $value)

Sets the programmatic value that describes the viewability of a volume in Google Book Search.

Parameters
string$valueprogrammatic value that describes the viewability of a volume in Googl eBook Search
Returns
Zend_Gdata_Books_Extension_Viewability 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

$_rootElement = 'viewability'
protected
$_rootNamespace = 'gbs'
protected
$_value = null
protected