|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($value=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getValue () | |
| setValue ($value) | |
| __toString () | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootElement = 'visibility' | |
| $_value = null | |
Definition at line 38 of file Visibility.php.
| __construct | ( | $ | value = null | ) |
Constructs a new Zend_Gdata_Extension_Visibility object.
| bool | $value | (optional) Visibility value as URI. |
Definition at line 48 of file Visibility.php.

| __toString | ( | ) |
Magic toString method allows using this directly via echo Works best in PHP >= 4.2.0
Reimplemented from Zend_Gdata_App_Base.
Definition at line 117 of file Visibility.php.

| 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.
| DOMDocument | $doc | The DOMDocument used to construct DOMElements |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 64 of file Visibility.php.
| getValue | ( | ) |
Get the value for this element's Value attribute.
Definition at line 96 of file Visibility.php.

| setValue | ( | $ | value | ) |
Set the value for this element's Value attribute.
| bool | $value | The desired value for this attribute. |
Definition at line 107 of file Visibility.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.
| DOMNode | $attribute | The DOMNode attribute needed to be handled |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 80 of file Visibility.php.
$_rootElement = 'visibility' [protected] |
Reimplemented from Zend_Gdata_App_Base.
Definition at line 41 of file Visibility.php.
$_value = null [protected] |
Definition at line 42 of file Visibility.php.