Class Zend_Gdata_YouTube_UserProfileEntry

Description

Represents the YouTube video playlist flavor of an Atom entry

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Gdata/YouTube/UserProfileEntry.php (line 138)

Zend_Gdata_App_Base
   |
   --Zend_Gdata_App_FeedEntryParent
      |
      --Zend_Gdata_App_Entry
         |
         --Zend_Gdata_App_MediaEntry
            |
            --Zend_Gdata_Entry
               |
               --Zend_Gdata_YouTube_UserProfileEntry
Direct descendents
Class Description
 class Zend_Gdata_YouTube_ContactEntry The YouTube contacts flavor of an Atom Entry with media support Represents a an individual contact
Variable Summary
Method Summary
 Zend_Gdata_YouTube_UserProfileEntry __construct ([DOMElement $element = null])
 string getContactsFeedUrl ()
 DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
 mixed getFeedLink ([string $rel = null])
 mixed getFeedLinkHref (string $rel)
 string getUploadsFeedUrl ()
 Zend_Gdata_YouTube_UserProfileEntry setFeedLink ([array $feedLink = null])
 void takeChildFromDOM (DOMNode $child)
Variables
string $_aboutMe = null (line 169)

The contents of the 'About Me' field.

  • access: protected
int $_age = null (line 176)

The age of the user

  • access: protected
string $_books = null (line 183)

Books of interest to the user

  • access: protected
string $_company = null (line 190)

Company

  • access: protected
string $_description = null (line 162)

The description of the user

  • access: protected
mixed $_entryClassName = 'Zend_Gdata_YouTube_UserProfileEntry' (line 141)
  • access: protected

Redefinition of:
Zend_Gdata_Entry::$_entryClassName

Redefined in descendants as:
array $_feedLink = array() (line 148)

Nested feed links

  • access: protected
string $_firstName = null (line 260)

First name

  • access: protected
string $_gender = null (line 246)

Gender

  • access: protected
string $_hobbies = null (line 197)

Hobbies

  • access: protected
string $_hometown = null (line 204)

Hometown

  • access: protected
string $_lastName = null (line 267)

Last name

  • access: protected
string $_location = null (line 211)

Location

  • access: protected
string $_movies = null (line 218)

Movies

  • access: protected
string $_music = null (line 225)

Music

  • access: protected
string $_occupation = null (line 232)

Occupation

  • access: protected
string $_relationship = null (line 253)

Relationship

  • access: protected
string $_school = null (line 239)

School

  • access: protected
Zend_Gdata_YouTube_Extension_Statistics $_statistics = null (line 274)

Statistics

  • access: protected
Zend_Gdata_Media_Extension_MediaThumbnail $_thumbnail = null (line 281)

Thumbnail

  • access: protected
string $_username = null (line 155)

The username for this profile entry

  • access: protected

Inherited Variables

Inherited from Zend_Gdata_App_MediaEntry

Zend_Gdata_App_MediaEntry::$_mediaSource

Inherited from Zend_Gdata_App_Entry

Zend_Gdata_App_Entry::$_content
Zend_Gdata_App_Entry::$_control
Zend_Gdata_App_Entry::$_edited
Zend_Gdata_App_Entry::$_published
Zend_Gdata_App_Entry::$_rootElement
Zend_Gdata_App_Entry::$_source
Zend_Gdata_App_Entry::$_summary

Inherited from Zend_Gdata_App_FeedEntryParent

Zend_Gdata_App_FeedEntryParent::$_author
Zend_Gdata_App_FeedEntryParent::$_category
Zend_Gdata_App_FeedEntryParent::$_contributor
Zend_Gdata_App_FeedEntryParent::$_etag
Zend_Gdata_App_FeedEntryParent::$_id
Zend_Gdata_App_FeedEntryParent::$_link
Zend_Gdata_App_FeedEntryParent::$_majorProtocolVersion
Zend_Gdata_App_FeedEntryParent::$_minorProtocolVersion
Zend_Gdata_App_FeedEntryParent::$_rights
Zend_Gdata_App_FeedEntryParent::$_service
Zend_Gdata_App_FeedEntryParent::$_title
Zend_Gdata_App_FeedEntryParent::$_updated

Inherited from Zend_Gdata_App_Base

Zend_Gdata_App_Base::$_extensionAttributes
Zend_Gdata_App_Base::$_extensionElements
Zend_Gdata_App_Base::$_namespaceLookupCache
Zend_Gdata_App_Base::$_namespaces
Zend_Gdata_App_Base::$_rootNamespace
Zend_Gdata_App_Base::$_rootNamespaceURI
Zend_Gdata_App_Base::$_text
Methods
Constructor __construct (line 290)

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

  • access: public
Zend_Gdata_YouTube_UserProfileEntry __construct ([DOMElement $element = null])
  • DOMElement $element: (optional) DOMElement from which this object should be constructed.

Redefinition of:
Zend_Gdata_Entry::__construct()

Redefined in descendants as:
getAboutMe (line 518)

Returns the contents of the 'about me' field.

  • return: The 'about me' information
  • throws: Zend_Gdata_App_VersionException
  • access: public
getAge (line 666)

Returns the age

  • return: The age
  • access: public
getBooks (line 710)

Returns the books

  • return: The books
  • access: public
getCompany (line 732)

Returns the company

  • return: The company
  • access: public
getContactsFeedUrl (line 1026)

Returns the URL of the contacts feed

  • return: The URL of the contacts feed
  • access: public
string getContactsFeedUrl ()
getDOM (line 306)

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.

  • return: The DOMElement representing this element and all child properties.
  • access: public
DOMElement getDOM ([DOMDocument $doc = null], [ $majorVersion = 1], [ $minorVersion = null])
  • DOMDocument $doc: The DOMDocument used to construct DOMElements
  • $majorVersion
  • $minorVersion

Redefinition of:
Zend_Gdata_Entry::getDOM()

Redefined in descendants as:
  • Zend_Gdata_YouTube_ContactEntry::getDOM() : 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.
getFavoritesFeedUrl (line 1036)

Returns the URL of the favorites feed

  • return: The URL of the favorites feed
  • access: public
string getFavoritesFeedUrl ()
getFeedLink (line 960)

Get the feed link property for this entry.

  • return: 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.
  • see: Zend_Gdata_YouTube_UserProfileEntry::setFeedLink()
  • access: public
mixed getFeedLink ([string $rel = null])
  • string $rel: (optional) The rel value of the link to be found. If null, the array of links is returned.
getFeedLinkHref (line 981)

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

  • return: Either the URL as a string or null if a feedLink wasn't found with the provided rel value
  • access: public
mixed getFeedLinkHref (string $rel)
  • string $rel: The rel value to find
getFirstName (line 558)

Returns the first name

  • return: The first name
  • throws: Zend_Gdata_App_VersionException
  • access: public
getGender (line 908)

Returns the gender

  • return: The gender
  • access: public
getHobbies (line 754)

Returns the hobbies

  • return: The hobbies
  • access: public
getHometown (line 776)

Returns the hometown

  • return: The hometown
  • access: public
getLastName (line 598)

Returns the last name

  • return: The last name
  • throws: Zend_Gdata_App_VersionException
  • access: public
getLocation (line 798)

Returns the location

  • return: The location
  • access: public
getMovies (line 820)

Returns the movies

  • return: The movies
  • access: public
getMusic (line 842)

Returns the music

  • return: The music
  • access: public
getOccupation (line 864)

Returns the occupation

  • return: The occupation
  • access: public
getPlaylistListFeedUrl (line 996)

Returns the URL of the playlist list feed

  • return: The URL of the playlist video feed
  • access: public
string getPlaylistListFeedUrl ()
getRelationship (line 930)

Returns the relationship

  • return: The relationship
  • access: public
getSchool (line 886)

Returns the school

  • return: The school
  • access: public
getStatistics (line 617)

Returns the statistics

  • return: The profile statistics
  • throws: Zend_Gdata_App_VersionException
  • access: public
getSubscriptionsFeedUrl (line 1016)

Returns the URL of the subscriptions feed

  • return: The URL of the subscriptions feed
  • access: public
string getSubscriptionsFeedUrl ()
getThumbnail (line 636)

Returns the thumbnail

  • return: The profile thumbnail
  • throws: Zend_Gdata_App_VersionException
  • access: public
getUploadsFeedUrl (line 1006)

Returns the URL of the uploads feed

  • return: The URL of the uploads video feed
  • access: public
string getUploadsFeedUrl ()
getUsername (line 688)

Returns the username

  • return: The username
  • access: public
setAboutMe (line 498)

Sets the content of the 'about me' field.

  • return: Provides a fluent interface
  • throws: Zend_Gdata_App_VersionException
  • access: public
setAge (line 655)

Sets the age

  • return: Provides a fluent interface
  • access: public
setBooks (line 699)

Sets the books

  • return: Provides a fluent interface
  • access: public
setCompany (line 721)

Sets the company

  • return: Provides a fluent interface
  • access: public
setFeedLink (line 941)

Sets the array of embedded feeds related to the video

  • return: Provides a fluent interface
  • access: public
Zend_Gdata_YouTube_UserProfileEntry setFeedLink ([array $feedLink = null])
  • array $feedLink: The array of embedded feeds relating to the video
setFirstName (line 538)

Sets the content of the 'first name' field.

  • return: Provides a fluent interface
  • throws: Zend_Gdata_App_VersionException
  • access: public
setGender (line 897)

Sets the gender

  • return: Provides a fluent interface
  • access: public
setHobbies (line 743)

Sets the hobbies

  • return: Provides a fluent interface
  • access: public
setHometown (line 765)

Sets the hometown

  • return: Provides a fluent interface
  • access: public
setLastName (line 578)

Sets the content of the 'last name' field.

  • return: Provides a fluent interface
  • throws: Zend_Gdata_App_VersionException
  • access: public
setLocation (line 787)

Sets the location

  • return: Provides a fluent interface
  • access: public
setMovies (line 809)

Sets the movies

  • return: Provides a fluent interface
  • access: public
setMusic (line 831)

Sets the music

  • return: Provides a fluent interface
  • access: public
setOccupation (line 853)

Sets the occupation

  • return: Provides a fluent interface
  • access: public
setRelationship (line 919)

Sets the relationship

  • return: Provides a fluent interface
  • access: public
setSchool (line 875)

Sets the school

  • return: Provides a fluent interface
  • access: public
setUsername (line 677)

Sets the username

  • return: Provides a fluent interface
  • access: public
takeChildFromDOM (line 380)

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

  • access: protected
void takeChildFromDOM (DOMNode $child)
  • DOMNode $child: The DOMNode to process

Redefinition of:
Zend_Gdata_Entry::takeChildFromDOM()

Redefined in descendants as:

Inherited Methods

Inherited From Zend_Gdata_Entry

 Zend_Gdata_Entry::__construct()
 Zend_Gdata_Entry::getDOM()
 Zend_Gdata_Entry::takeAttributeFromDOM()
 Zend_Gdata_Entry::takeChildFromDOM()

Inherited From Zend_Gdata_App_MediaEntry

 Zend_Gdata_App_MediaEntry::__construct()
 Zend_Gdata_App_MediaEntry::encode()
 Zend_Gdata_App_MediaEntry::getMediaSource()
 Zend_Gdata_App_MediaEntry::setMediaSource()

Inherited From Zend_Gdata_App_Entry

 Zend_Gdata_App_Entry::delete()
 Zend_Gdata_App_Entry::getContent()
 Zend_Gdata_App_Entry::getControl()
 Zend_Gdata_App_Entry::getDOM()
 Zend_Gdata_App_Entry::getPublished()
 Zend_Gdata_App_Entry::getSource()
 Zend_Gdata_App_Entry::getSummary()
 Zend_Gdata_App_Entry::reload()
 Zend_Gdata_App_Entry::save()
 Zend_Gdata_App_Entry::setContent()
 Zend_Gdata_App_Entry::setControl()
 Zend_Gdata_App_Entry::setPublished()
 Zend_Gdata_App_Entry::setSource()
 Zend_Gdata_App_Entry::setSummary()
 Zend_Gdata_App_Entry::takeChildFromDOM()

Inherited From Zend_Gdata_App_FeedEntryParent

 Zend_Gdata_App_FeedEntryParent::__construct()
 Zend_Gdata_App_FeedEntryParent::getAlternateLink()
 Zend_Gdata_App_FeedEntryParent::getAuthor()
 Zend_Gdata_App_FeedEntryParent::getCategory()
 Zend_Gdata_App_FeedEntryParent::getContributor()
 Zend_Gdata_App_FeedEntryParent::getDOM()
 Zend_Gdata_App_FeedEntryParent::getEditLink()
 Zend_Gdata_App_FeedEntryParent::getEtag()
 Zend_Gdata_App_FeedEntryParent::getHttpClient()
 Zend_Gdata_App_FeedEntryParent::getId()
 Zend_Gdata_App_FeedEntryParent::getLicenseLink()
 Zend_Gdata_App_FeedEntryParent::getLink()
 Zend_Gdata_App_FeedEntryParent::getMajorProtocolVersion()
 Zend_Gdata_App_FeedEntryParent::getMinorProtocolVersion()
 Zend_Gdata_App_FeedEntryParent::getNextLink()
 Zend_Gdata_App_FeedEntryParent::getPreviousLink()
 Zend_Gdata_App_FeedEntryParent::getRights()
 Zend_Gdata_App_FeedEntryParent::getSelfLink()
 Zend_Gdata_App_FeedEntryParent::getService()
 Zend_Gdata_App_FeedEntryParent::getTitle()
 Zend_Gdata_App_FeedEntryParent::getTitleValue()
 Zend_Gdata_App_FeedEntryParent::getUpdated()
 Zend_Gdata_App_FeedEntryParent::lookupNamespace()
 Zend_Gdata_App_FeedEntryParent::setAuthor()
 Zend_Gdata_App_FeedEntryParent::setCategory()
 Zend_Gdata_App_FeedEntryParent::setContributor()
 Zend_Gdata_App_FeedEntryParent::setEtag()
 Zend_Gdata_App_FeedEntryParent::setHttpClient()
 Zend_Gdata_App_FeedEntryParent::setId()
 Zend_Gdata_App_FeedEntryParent::setLink()
 Zend_Gdata_App_FeedEntryParent::setMajorProtocolVersion()
 Zend_Gdata_App_FeedEntryParent::setMinorProtocolVersion()
 Zend_Gdata_App_FeedEntryParent::setRights()
 Zend_Gdata_App_FeedEntryParent::setService()
 Zend_Gdata_App_FeedEntryParent::setTitle()
 Zend_Gdata_App_FeedEntryParent::setUpdated()
 Zend_Gdata_App_FeedEntryParent::takeChildFromDOM()

Inherited From Zend_Gdata_App_Base

 Zend_Gdata_App_Base::__construct()
 Zend_Gdata_App_Base::encode()
 Zend_Gdata_App_Base::flushNamespaceLookupCache()
 Zend_Gdata_App_Base::getDOM()
 Zend_Gdata_App_Base::getExtensionAttributes()
 Zend_Gdata_App_Base::getExtensionElements()
 Zend_Gdata_App_Base::getText()
 Zend_Gdata_App_Base::getXML()
 Zend_Gdata_App_Base::lookupNamespace()
 Zend_Gdata_App_Base::registerAllNamespaces()
 Zend_Gdata_App_Base::registerNamespace()
 Zend_Gdata_App_Base::saveXML()
 Zend_Gdata_App_Base::setExtensionAttributes()
 Zend_Gdata_App_Base::setExtensionElements()
 Zend_Gdata_App_Base::setText()
 Zend_Gdata_App_Base::takeAttributeFromDOM()
 Zend_Gdata_App_Base::takeChildFromDOM()
 Zend_Gdata_App_Base::transferFromDOM()
 Zend_Gdata_App_Base::transferFromXML()
 Zend_Gdata_App_Base::__get()
 Zend_Gdata_App_Base::__isset()
 Zend_Gdata_App_Base::__set()
 Zend_Gdata_App_Base::__toString()
 Zend_Gdata_App_Base::__unset()

Documentation generated on Mon, 21 Jun 2010 15:51:09 -0400 by phpDocumentor 1.4.3