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

Public Member Functions

 __construct ($element=null)
 getDOM ($doc=null, $majorVersion=1, $minorVersion=null)
 setAboutMe ($aboutMe=null)
 getAboutMe ()
 setFirstName ($firstName=null)
 getFirstName ()
 setLastName ($lastName=null)
 getLastName ()
 getStatistics ()
 getThumbnail ()
 setAge ($age=null)
 getAge ()
 setUsername ($username=null)
 getUsername ()
 setBooks ($books=null)
 getBooks ()
 setCompany ($company=null)
 getCompany ()
 setHobbies ($hobbies=null)
 getHobbies ()
 setHometown ($hometown=null)
 getHometown ()
 setLocation ($location=null)
 getLocation ()
 setMovies ($movies=null)
 getMovies ()
 setMusic ($music=null)
 getMusic ()
 setOccupation ($occupation=null)
 getOccupation ()
 setSchool ($school=null)
 getSchool ()
 setGender ($gender=null)
 getGender ()
 setRelationship ($relationship=null)
 getRelationship ()
 setFeedLink ($feedLink=null)
 getFeedLink ($rel=null)
 getFeedLinkHref ($rel)
 getPlaylistListFeedUrl ()
 getUploadsFeedUrl ()
 getSubscriptionsFeedUrl ()
 getContactsFeedUrl ()
 getFavoritesFeedUrl ()

Protected Member Functions

 takeChildFromDOM ($child)

Protected Attributes

 $_entryClassName = 'Zend_Gdata_YouTube_UserProfileEntry'
 $_feedLink = array()
 $_username = null
 $_description = null
 $_aboutMe = null
 $_age = null
 $_books = null
 $_company = null
 $_hobbies = null
 $_hometown = null
 $_location = null
 $_movies = null
 $_music = null
 $_occupation = null
 $_school = null
 $_gender = null
 $_relationship = null
 $_firstName = null
 $_lastName = null
 $_statistics = null
 $_thumbnail = null

Detailed Description

Definition at line 138 of file UserProfileEntry.php.


Constructor & Destructor Documentation

__construct ( element = null)

Creates a User Profile entry, representing an individual user and their attributes.

Parameters:
DOMElement$element(optional) DOMElement from which this object should be constructed.

Reimplemented from Zend_Gdata_Entry.

Reimplemented in Zend_Gdata_YouTube_ContactEntry.

Definition at line 290 of file UserProfileEntry.php.

Here is the call graph for this function:


Member Function Documentation

Returns the contents of the 'about me' field.

Exceptions:
Zend_Gdata_App_VersionException
Returns:
Zend_Gdata_YouTube_Extension_AboutMe The 'about me' information

Definition at line 518 of file UserProfileEntry.php.

Here is the call graph for this function:

getAge ( )

Returns the age

Returns:
Zend_Gdata_YouTube_Extension_Age The age

Definition at line 666 of file UserProfileEntry.php.

getBooks ( )

Returns the books

Returns:
Zend_Gdata_YouTube_Extension_Books The books

Definition at line 710 of file UserProfileEntry.php.

Returns the company

Returns:
Zend_Gdata_YouTube_Extension_Company The company

Definition at line 732 of file UserProfileEntry.php.

Returns the URL of the contacts feed

Returns:
string The URL of the contacts feed

Definition at line 1026 of file UserProfileEntry.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_Entry.

Reimplemented in Zend_Gdata_YouTube_ContactEntry.

Definition at line 306 of file UserProfileEntry.php.

Returns the URL of the favorites feed

Returns:
string The URL of the favorites feed

Definition at line 1036 of file UserProfileEntry.php.

Here is the call graph for this function:

getFeedLink ( rel = null)

Get the feed link property for this entry.

See also:
setFeedLink
Parameters:
string$rel(optional) The rel value of the link to be found. If null, the array of links is returned.
Returns:
mixed If $rel is specified, a Zend_Gdata_Extension_FeedLink object corresponding to the requested rel value is returned if found, or null if the requested value is not found. If $rel is null or not specified, an array of all available feed links for this entry is returned, or null if no feed links are set.

Definition at line 960 of file UserProfileEntry.php.

Here is the caller graph for this function:

getFeedLinkHref ( rel)

Returns the URL in the gd:feedLink with the provided rel value

Parameters:
string$relThe rel value to find
Returns:
mixed Either the URL as a string or null if a feedLink wasn't found with the provided rel value

Definition at line 981 of file UserProfileEntry.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Returns the first name

Exceptions:
Zend_Gdata_App_VersionException
Returns:
Zend_Gdata_YouTube_Extension_FirstName The first name

Definition at line 558 of file UserProfileEntry.php.

Here is the call graph for this function:

getGender ( )

Returns the gender

Returns:
Zend_Gdata_YouTube_Extension_Gender The gender

Definition at line 908 of file UserProfileEntry.php.

Returns the hobbies

Returns:
Zend_Gdata_YouTube_Extension_Hobbies The hobbies

Definition at line 754 of file UserProfileEntry.php.

Returns the hometown

Returns:
Zend_Gdata_YouTube_Extension_Hometown The hometown

Definition at line 776 of file UserProfileEntry.php.

Returns the last name

Exceptions:
Zend_Gdata_App_VersionException
Returns:
Zend_Gdata_YouTube_Extension_LastName The last name

Definition at line 598 of file UserProfileEntry.php.

Here is the call graph for this function:

Returns the location

Returns:
Zend_Gdata_YouTube_Extension_Location The location

Definition at line 798 of file UserProfileEntry.php.

getMovies ( )

Returns the movies

Returns:
Zend_Gdata_YouTube_Extension_Movies The movies

Definition at line 820 of file UserProfileEntry.php.

getMusic ( )

Returns the music

Returns:
Zend_Gdata_YouTube_Extension_Music The music

Definition at line 842 of file UserProfileEntry.php.

Returns the occupation

Returns:
Zend_Gdata_YouTube_Extension_Occupation The occupation

Definition at line 864 of file UserProfileEntry.php.

Returns the URL of the playlist list feed

Returns:
string The URL of the playlist video feed

Definition at line 996 of file UserProfileEntry.php.

Here is the call graph for this function:

Returns the relationship

Returns:
Zend_Gdata_YouTube_Extension_Relationship The relationship

Definition at line 930 of file UserProfileEntry.php.

getSchool ( )

Returns the school

Returns:
Zend_Gdata_YouTube_Extension_School The school

Definition at line 886 of file UserProfileEntry.php.

Returns the statistics

Exceptions:
Zend_Gdata_App_VersionException
Returns:
Zend_Gdata_YouTube_Extension_Statistics The profile statistics

Definition at line 617 of file UserProfileEntry.php.

Here is the call graph for this function:

Returns the URL of the subscriptions feed

Returns:
string The URL of the subscriptions feed

Definition at line 1016 of file UserProfileEntry.php.

Here is the call graph for this function:

Returns the thumbnail

Exceptions:
Zend_Gdata_App_VersionException
Returns:
Zend_Gdata_Media_Extension_MediaThumbnail The profile thumbnail

Definition at line 636 of file UserProfileEntry.php.

Here is the call graph for this function:

Returns the URL of the uploads feed

Returns:
string The URL of the uploads video feed

Definition at line 1006 of file UserProfileEntry.php.

Here is the call graph for this function:

Returns the username

Returns:
Zend_Gdata_YouTube_Extension_Username The username

Definition at line 688 of file UserProfileEntry.php.

setAboutMe ( aboutMe = null)

Sets the content of the 'about me' field.

Parameters:
Zend_Gdata_YouTube_Extension_AboutMe$aboutMeThe 'about me' information.
Exceptions:
Zend_Gdata_App_VersionException
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 498 of file UserProfileEntry.php.

Here is the call graph for this function:

setAge ( age = null)

Sets the age

Parameters:
Zend_Gdata_YouTube_Extension_Age$ageThe age
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 655 of file UserProfileEntry.php.

setBooks ( books = null)

Sets the books

Parameters:
Zend_Gdata_YouTube_Extension_Books$booksThe books
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 699 of file UserProfileEntry.php.

setCompany ( company = null)

Sets the company

Parameters:
Zend_Gdata_YouTube_Extension_Company$companyThe company
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 721 of file UserProfileEntry.php.

setFeedLink ( feedLink = null)

Sets the array of embedded feeds related to the video

Parameters:
array$feedLinkThe array of embedded feeds relating to the video
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 941 of file UserProfileEntry.php.

setFirstName ( firstName = null)

Sets the content of the 'first name' field.

Parameters:
Zend_Gdata_YouTube_Extension_FirstName$firstNameThe first name
Exceptions:
Zend_Gdata_App_VersionException
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 538 of file UserProfileEntry.php.

Here is the call graph for this function:

setGender ( gender = null)

Sets the gender

Parameters:
Zend_Gdata_YouTube_Extension_Gender$genderThe gender
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 897 of file UserProfileEntry.php.

setHobbies ( hobbies = null)

Sets the hobbies

Parameters:
Zend_Gdata_YouTube_Extension_Hobbies$hobbiesThe hobbies
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 743 of file UserProfileEntry.php.

setHometown ( hometown = null)

Sets the hometown

Parameters:
Zend_Gdata_YouTube_Extension_Hometown$hometownThe hometown
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 765 of file UserProfileEntry.php.

setLastName ( lastName = null)

Sets the content of the 'last name' field.

Parameters:
Zend_Gdata_YouTube_Extension_LastName$lastNameThe last name
Exceptions:
Zend_Gdata_App_VersionException
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 578 of file UserProfileEntry.php.

Here is the call graph for this function:

setLocation ( location = null)

Sets the location

Parameters:
Zend_Gdata_YouTube_Extension_Location$locationThe location
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 787 of file UserProfileEntry.php.

setMovies ( movies = null)

Sets the movies

Parameters:
Zend_Gdata_YouTube_Extension_Movies$moviesThe movies
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 809 of file UserProfileEntry.php.

setMusic ( music = null)

Sets the music

Parameters:
Zend_Gdata_YouTube_Extension_Music$musicThe music
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 831 of file UserProfileEntry.php.

setOccupation ( occupation = null)

Sets the occupation

Parameters:
Zend_Gdata_YouTube_Extension_Occupation$occupationThe occupation
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 853 of file UserProfileEntry.php.

setRelationship ( relationship = null)

Sets the relationship

Parameters:
Zend_Gdata_YouTube_Extension_Relationship$relationshipThe relationship
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 919 of file UserProfileEntry.php.

setSchool ( school = null)

Sets the school

Parameters:
Zend_Gdata_YouTube_Extension_School$schoolThe school
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 875 of file UserProfileEntry.php.

setUsername ( username = null)

Sets the username

Parameters:
Zend_Gdata_YouTube_Extension_Username$usernameThe username
Returns:
Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface

Definition at line 677 of file UserProfileEntry.php.

takeChildFromDOM ( child) [protected]

Creates individual Entry objects of the appropriate type and stores them in the $_entry array based upon DOM data.

Parameters:
DOMNode$childThe DOMNode to process

Reimplemented from Zend_Gdata_Entry.

Reimplemented in Zend_Gdata_YouTube_ContactEntry.

Definition at line 380 of file UserProfileEntry.php.

Here is the call graph for this function:


Field Documentation

$_aboutMe = null [protected]

Definition at line 169 of file UserProfileEntry.php.

$_age = null [protected]

Definition at line 176 of file UserProfileEntry.php.

$_books = null [protected]

Definition at line 183 of file UserProfileEntry.php.

$_company = null [protected]

Definition at line 190 of file UserProfileEntry.php.

$_description = null [protected]

Definition at line 162 of file UserProfileEntry.php.

$_entryClassName = 'Zend_Gdata_YouTube_UserProfileEntry' [protected]

Reimplemented from Zend_Gdata_Entry.

Reimplemented in Zend_Gdata_YouTube_ContactEntry.

Definition at line 141 of file UserProfileEntry.php.

$_feedLink = array() [protected]

Definition at line 148 of file UserProfileEntry.php.

$_firstName = null [protected]

Definition at line 260 of file UserProfileEntry.php.

$_gender = null [protected]

Definition at line 246 of file UserProfileEntry.php.

$_hobbies = null [protected]

Definition at line 197 of file UserProfileEntry.php.

$_hometown = null [protected]

Definition at line 204 of file UserProfileEntry.php.

$_lastName = null [protected]

Definition at line 267 of file UserProfileEntry.php.

$_location = null [protected]

Definition at line 211 of file UserProfileEntry.php.

$_movies = null [protected]

Definition at line 218 of file UserProfileEntry.php.

$_music = null [protected]

Definition at line 225 of file UserProfileEntry.php.

$_occupation = null [protected]

Definition at line 232 of file UserProfileEntry.php.

$_relationship = null [protected]

Definition at line 253 of file UserProfileEntry.php.

$_school = null [protected]

Definition at line 239 of file UserProfileEntry.php.

$_statistics = null [protected]

Definition at line 274 of file UserProfileEntry.php.

$_thumbnail = null [protected]

Definition at line 281 of file UserProfileEntry.php.

$_username = null [protected]

Definition at line 155 of file UserProfileEntry.php.


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