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

Public Member Functions

 __construct ($text=null, $scheme=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getScheme ()
 setScheme ($value)

Protected Member Functions

 takeAttributeFromDOM ($attribute)

Protected Attributes

 $_rootElement = 'rating'
 $_rootNamespace = 'media'
 $_scheme = null

Detailed Description

Definition at line 38 of file MediaRating.php.


Constructor & Destructor Documentation

__construct ( text = null,
scheme = null 
)

Constructs a new MediaRating element

Parameters:
string$text
string$scheme

Definition at line 55 of file MediaRating.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 73 of file MediaRating.php.

getScheme ( )
Returns:
string

Definition at line 103 of file MediaRating.php.

setScheme ( value)
Parameters:
string$value
Returns:
Zend_Gdata_Media_Extension_MediaRating Provides a fluent interface

Definition at line 112 of file MediaRating.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 89 of file MediaRating.php.


Field Documentation

$_rootElement = 'rating' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 41 of file MediaRating.php.

$_rootNamespace = 'media' [protected]

Reimplemented from Zend_Gdata_Extension.

Definition at line 42 of file MediaRating.php.

$_scheme = null [protected]

Definition at line 47 of file MediaRating.php.


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