Gdata/YouTube/UserProfileEntry.php
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Gdata
- Subpackage
- YouTube
- Version
- $Id$
\Zend_Gdata_YouTube_UserProfileEntry
- Parent(s)
- \Zend_Gdata_Entry < \Zend_Gdata_App_MediaEntry < \Zend_Gdata_App_Entry < \Zend_Gdata_App_FeedEntryParent < \Zend_Gdata_App_Base
- Children
- \Zend_Gdata_YouTube_ContactEntry
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
$_entryClassName = 'Zend_Gdata_YouTube_UserProfileEntry'
'Zend_Gdata_YouTube_UserProfileEntry'
Details- Type
- n/a
Methods
__construct(\DOMElement $element = null) : void
Creates a User Profile entry, representing an individual user and their attributes.
Name | Type | Description |
---|---|---|
$element | \DOMElement | (optional) DOMElement from which this
|
getAboutMe() : \Zend_Gdata_YouTube_Extension_AboutMe
Returns the contents of the 'about me' field.
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_AboutMe | The 'about me' information |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |
getAge() : \Zend_Gdata_YouTube_Extension_Age
Returns the age
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Age | The age |
getBooks() : \Zend_Gdata_YouTube_Extension_Books
Returns the books
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Books | The books |
getCompany() : \Zend_Gdata_YouTube_Extension_Company
Returns the company
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Company | The company |
getContactsFeedUrl() : string
Returns the URL of the contacts feed
Type | Description |
---|---|
string | The URL of the contacts feed |
getDOM(\DOMDocument $doc = null, $majorVersion = 1, $minorVersion = null) : \DOMElement
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.
Name | Type | Description |
---|---|---|
$doc | \DOMDocument | The DOMDocument used to construct DOMElements |
$majorVersion | ||
$minorVersion |
Type | Description |
---|---|
\DOMElement | The DOMElement representing this element and all child properties. |
getFavoritesFeedUrl() : string
Returns the URL of the favorites feed
Type | Description |
---|---|
string | The URL of the favorites feed |
getFeedLink(string $rel = null) : mixed
Get the feed link property for this entry.
Name | Type | Description |
---|---|---|
$rel | string | (optional) The rel value of the link to be found.
|
Type | Description |
---|---|
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. |
getFeedLinkHref(string $rel) : mixed
Returns the URL in the gd:feedLink with the provided rel value
Name | Type | Description |
---|---|---|
$rel | string | The rel value to find |
Type | Description |
---|---|
mixed | Either the URL as a string or null if a feedLink wasn't found with the provided rel value |
getFirstName() : \Zend_Gdata_YouTube_Extension_FirstName
Returns the first name
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_FirstName | The first name |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |
getGender() : \Zend_Gdata_YouTube_Extension_Gender
Returns the gender
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Gender | The gender |
getHobbies() : \Zend_Gdata_YouTube_Extension_Hobbies
Returns the hobbies
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Hobbies | The hobbies |
getHometown() : \Zend_Gdata_YouTube_Extension_Hometown
Returns the hometown
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Hometown | The hometown |
getLastName() : \Zend_Gdata_YouTube_Extension_LastName
Returns the last name
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_LastName | The last name |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |
getLocation() : \Zend_Gdata_YouTube_Extension_Location
Returns the location
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Location | The location |
getMovies() : \Zend_Gdata_YouTube_Extension_Movies
Returns the movies
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Movies | The movies |
getMusic() : \Zend_Gdata_YouTube_Extension_Music
Returns the music
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Music | The music |
getOccupation() : \Zend_Gdata_YouTube_Extension_Occupation
Returns the occupation
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Occupation | The occupation |
getPlaylistListFeedUrl() : string
Returns the URL of the playlist list feed
Type | Description |
---|---|
string | The URL of the playlist video feed |
getRelationship() : \Zend_Gdata_YouTube_Extension_Relationship
Returns the relationship
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Relationship | The relationship |
getSchool() : \Zend_Gdata_YouTube_Extension_School
Returns the school
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_School | The school |
getStatistics() : \Zend_Gdata_YouTube_Extension_Statistics
Returns the statistics
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Statistics | The profile statistics |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |
getSubscriptionsFeedUrl() : string
Returns the URL of the subscriptions feed
Type | Description |
---|---|
string | The URL of the subscriptions feed |
getThumbnail() : \Zend_Gdata_Media_Extension_MediaThumbnail
Returns the thumbnail
Type | Description |
---|---|
\Zend_Gdata_Media_Extension_MediaThumbnail | The profile thumbnail |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |
getUploadsFeedUrl() : string
Returns the URL of the uploads feed
Type | Description |
---|---|
string | The URL of the uploads video feed |
getUsername() : \Zend_Gdata_YouTube_Extension_Username
Returns the username
Type | Description |
---|---|
\Zend_Gdata_YouTube_Extension_Username | The username |
setAboutMe(\Zend_Gdata_YouTube_Extension_AboutMe $aboutMe = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the content of the 'about me' field.
Name | Type | Description |
---|---|---|
$aboutMe | \Zend_Gdata_YouTube_Extension_AboutMe | The 'about me'
|
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |
setAge(\Zend_Gdata_YouTube_Extension_Age $age = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the age
Name | Type | Description |
---|---|---|
$age | \Zend_Gdata_YouTube_Extension_Age | The age |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setBooks(\Zend_Gdata_YouTube_Extension_Books $books = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the books
Name | Type | Description |
---|---|---|
$books | \Zend_Gdata_YouTube_Extension_Books | The books |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setCompany(\Zend_Gdata_YouTube_Extension_Company $company = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the company
Name | Type | Description |
---|---|---|
$company | \Zend_Gdata_YouTube_Extension_Company | The company |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setFeedLink(array $feedLink = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the array of embedded feeds related to the video
Name | Type | Description |
---|---|---|
$feedLink | array | The array of embedded feeds relating to the video |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setFirstName(\Zend_Gdata_YouTube_Extension_FirstName $firstName = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the content of the 'first name' field.
Name | Type | Description |
---|---|---|
$firstName | \Zend_Gdata_YouTube_Extension_FirstName | The first name |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |
setGender(\Zend_Gdata_YouTube_Extension_Gender $gender = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the gender
Name | Type | Description |
---|---|---|
$gender | \Zend_Gdata_YouTube_Extension_Gender | The gender |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setHobbies(\Zend_Gdata_YouTube_Extension_Hobbies $hobbies = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the hobbies
Name | Type | Description |
---|---|---|
$hobbies | \Zend_Gdata_YouTube_Extension_Hobbies | The hobbies |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setHometown(\Zend_Gdata_YouTube_Extension_Hometown $hometown = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the hometown
Name | Type | Description |
---|---|---|
$hometown | \Zend_Gdata_YouTube_Extension_Hometown | The hometown |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setLastName(\Zend_Gdata_YouTube_Extension_LastName $lastName = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the content of the 'last name' field.
Name | Type | Description |
---|---|---|
$lastName | \Zend_Gdata_YouTube_Extension_LastName | The last name |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
Exception | Description |
---|---|
\Zend_Gdata_App_VersionException |
setLocation(\Zend_Gdata_YouTube_Extension_Location $location = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the location
Name | Type | Description |
---|---|---|
$location | \Zend_Gdata_YouTube_Extension_Location | The location |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setMovies(\Zend_Gdata_YouTube_Extension_Movies $movies = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the movies
Name | Type | Description |
---|---|---|
$movies | \Zend_Gdata_YouTube_Extension_Movies | The movies |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setMusic(\Zend_Gdata_YouTube_Extension_Music $music = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the music
Name | Type | Description |
---|---|---|
$music | \Zend_Gdata_YouTube_Extension_Music | The music |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setOccupation(\Zend_Gdata_YouTube_Extension_Occupation $occupation = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the occupation
Name | Type | Description |
---|---|---|
$occupation | \Zend_Gdata_YouTube_Extension_Occupation | The occupation |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setRelationship(\Zend_Gdata_YouTube_Extension_Relationship $relationship = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the relationship
Name | Type | Description |
---|---|---|
$relationship | \Zend_Gdata_YouTube_Extension_Relationship | The relationship |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setSchool(\Zend_Gdata_YouTube_Extension_School $school = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the school
Name | Type | Description |
---|---|---|
$school | \Zend_Gdata_YouTube_Extension_School | The school |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |
setUsername(\Zend_Gdata_YouTube_Extension_Username $username = null) : \Zend_Gdata_YouTube_UserProfileEntry
Sets the username
Name | Type | Description |
---|---|---|
$username | \Zend_Gdata_YouTube_Extension_Username | The username |
Type | Description |
---|---|
\Zend_Gdata_YouTube_UserProfileEntry | Provides a fluent interface |