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

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

Detailed Description

Definition at line 45 of file Name.php.


Constructor & Destructor Documentation

__construct ( familyName = null,
givenName = null 
)

Constructs a new Zend_Gdata_Gapps_Extension_Name object.

Parameters:
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.

Here is the call graph for this function:


Member Function Documentation

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.

Here is the call graph for this function:

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 91 of file Name.php.

Get the value for this element's familyName attribute.

See also:
setFamilyName
Returns:
string The requested attribute.

Definition at line 130 of file Name.php.

Here is the caller graph for this function:

Get the value for this element's givenName attribute.

See also:
setGivenName
Returns:
string The requested attribute.

Definition at line 154 of file Name.php.

Here is the caller graph for this function:

setFamilyName ( value)

Set the value for this element's familyName attribute. This represents a user's family name.

Parameters:
string$valueThe desired value for this attribute.
Returns:
Zend_Gdata_Gapps_Extension_Name Provides a fluent interface..

Definition at line 142 of file Name.php.

setGivenName ( value)

Set the value for this element's givenName attribute. This represents a user's given name.

Parameters:
string$valueThe desired value for this attribute.
Returns:
Zend_Gdata_Gapps_Extension_Name Provides a fluent interface.

Definition at line 166 of file Name.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 110 of file Name.php.


Field Documentation

$_familyName = null [protected]

Definition at line 56 of file Name.php.

$_givenName = null [protected]

Definition at line 63 of file Name.php.

$_rootElement = 'name' [protected]

Reimplemented from Zend_Gdata_App_Base.

Definition at line 49 of file Name.php.

$_rootNamespace = 'apps' [protected]

Reimplemented from Zend_Gdata_Extension.

Definition at line 48 of file Name.php.


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