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

Public Member Functions

 __construct ($value=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getValue ()
 setValue ($value)

Protected Member Functions

 takeAttributeFromDOM ($attribute)

Protected Attributes

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

Detailed Description

Definition at line 38 of file Viewability.php.


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.

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

getValue ( )

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

Returns:
string The value

Definition at line 101 of file Viewability.php.

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

Definition at line 115 of file Viewability.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 84 of file Viewability.php.


Field Documentation

$_rootElement = 'viewability' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 42 of file Viewability.php.

$_rootNamespace = 'gbs' [protected]

Reimplemented from Zend_Gdata_Extension.

Definition at line 41 of file Viewability.php.

$_value = null [protected]

Definition at line 43 of file Viewability.php.


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