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

Public Member Functions

 __construct ($text=null, $relationship=null, $type=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 getRelationship ()
 setRelationship ($value)
 getType ()
 setType ($value)

Protected Member Functions

 takeAttributeFromDOM ($attribute)

Protected Attributes

 $_rootElement = 'restriction'
 $_rootNamespace = 'media'
 $_relationship = null
 $_type = null

Detailed Description

Definition at line 38 of file MediaRestriction.php.


Constructor & Destructor Documentation

__construct ( text = null,
relationship = null,
type = null 
)

Constructs a new MediaRestriction element

Parameters:
string$text
string$relationship
string$type

Definition at line 61 of file MediaRestriction.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 80 of file MediaRestriction.php.

Returns:
string

Definition at line 116 of file MediaRestriction.php.

getType ( )
Returns:
string

Definition at line 134 of file MediaRestriction.php.

setRelationship ( value)
Parameters:
string$value
Returns:
Zend_Gdata_Media_Extension_MediaRestriction Provides a fluent interface

Definition at line 125 of file MediaRestriction.php.

setType ( value)
Parameters:
string$value
Returns:
Zend_Gdata_Media_Extension_MediaRestriction Provides a fluent interface

Definition at line 143 of file MediaRestriction.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 99 of file MediaRestriction.php.


Field Documentation

$_relationship = null [protected]

Definition at line 47 of file MediaRestriction.php.

$_rootElement = 'restriction' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 41 of file MediaRestriction.php.

$_rootNamespace = 'media' [protected]

Reimplemented from Zend_Gdata_Extension.

Definition at line 42 of file MediaRestriction.php.

$_type = null [protected]

Definition at line 52 of file MediaRestriction.php.


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