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


Public Member Functions | |
| __construct ($familyName=null, $givenName=null) | |
| getDOM ($doc=null, $majorVersion=1, $minorVersion=null) | |
| getFamilyName () | |
| setFamilyName ($value) | |
| getGivenName () | |
| setGivenName ($value) | |
| __toString () | |
Protected Member Functions | |
| takeAttributeFromDOM ($attribute) | |
Protected Attributes | |
| $_rootNamespace = 'apps' | |
| $_rootElement = 'name' | |
| $_familyName = null | |
| $_givenName = null | |
| __construct | ( | $ | familyName = null, |
| $ | givenName = null |
||
| ) |
Constructs a new Zend_Gdata_Gapps_Extension_Name object.
| string | $familyName | (optional) The familyName to be set for this object. |
| string | $givenName | (optional) The givenName to be set for this object. |
Definition at line 73 of file Name.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 176 of file Name.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.
| getFamilyName | ( | ) |
Get the value for this element's familyName attribute.
Definition at line 130 of file Name.php.

| getGivenName | ( | ) |
Get the value for this element's givenName attribute.
Definition at line 154 of file Name.php.

| setFamilyName | ( | $ | value | ) |
Set the value for this element's familyName attribute. This represents a user's family name.
| string | $value | The desired value for this attribute. |
| setGivenName | ( | $ | value | ) |
Set the value for this element's givenName attribute. This represents a user's given name.
| string | $value | The desired value for this attribute. |
| 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.
$_rootElement = 'name' [protected] |
Reimplemented from Zend_Gdata_App_Base.
$_rootNamespace = 'apps' [protected] |
Reimplemented from Zend_Gdata_Extension.