Gdata/YouTube/ContactEntry.php

Show: inherited
Table of Contents

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Gdata  
Subpackage
YouTube  
Version
$Id: ContactEntry.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Gdata_YouTube_ContactEntry

Package: Zend\Gdata\YouTube

The YouTube contacts flavor of an Atom Entry with media support Represents a an individual contact

Parent(s)
\Zend_Gdata_YouTube_UserProfileEntry < \Zend_Gdata_Entry < \Zend_Gdata_App_MediaEntry < \Zend_Gdata_App_Entry < \Zend_Gdata_App_FeedEntryParent < \Zend_Gdata_App_Base
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedstring $_aboutMe = null
inherited

The contents of the 'About Me' field.

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_aboutMe
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_aboutMe  
Propertyprotectedint $_age = null
inherited

The age of the user

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_age
Default valuenullDetails
Type
int
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_age  
Propertyprotectedstring $_books = null
inherited

Books of interest to the user

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_books
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_books  
Propertyprotectedstring $_company = null
inherited

Company

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_company
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_company  
Propertyprotectedstring $_description = null
inherited

The description of the user

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_description
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_description  
Propertyprotectedstring $_entryClassName = 'Zend_Gdata_YouTube_ContactEntry'

The classname for individual feed elements.

Default value'Zend_Gdata_YouTube_ContactEntry'Details
Type
string
Propertyprotectedstring|null $_etag = NULL

Used for optimistic concurrency in protoco v2 or greater.

Default valueNULLDetails
Type
string | null
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_etag  
Inherited_from
\Zend_Gdata_App_Entry::$$_etag  
Inherited_from
\Zend_Gdata_App_MediaEntry::$$_etag  
Inherited_from
\Zend_Gdata_Entry::$$_etag  
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_etag  
Propertyprotectedarray $_feedLink = array()
inherited

Nested feed links

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_feedLink
Default valuearray()Details
Type
array
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_feedLink  
Propertyprotectedstring $_firstName = null
inherited

First name

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_firstName
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_firstName  
Propertyprotectedstring $_gender = null
inherited

Gender

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_gender
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_gender  
Propertyprotectedstring $_hobbies = null
inherited

Hobbies

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_hobbies
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_hobbies  
Propertyprotectedstring $_hometown = null
inherited

Hometown

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_hometown
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_hometown  
Propertyprotectedstring $_lastName = null
inherited

Last name

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_lastName
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_lastName  
Propertyprotectedstring $_location = null
inherited

Location

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_location
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_location  
Propertyprotected$_majorProtocolVersion = 1

At present, recognized values are either 1 or 2. However, any integer value >= 1 is considered valid.

Default value1Details
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_majorProtocolVersion  
Inherited_from
\Zend_Gdata_App_Entry::$$_majorProtocolVersion  
Inherited_from
\Zend_Gdata_App_MediaEntry::$$_majorProtocolVersion  
Inherited_from
\Zend_Gdata_Entry::$$_majorProtocolVersion  
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_majorProtocolVersion  
See
\global\setMajorProtocolVersion()  
See
\global\getMajorProtocolVersion()  
Propertyprotected\Zend_Gdata_App_MediaSource $_mediaSource = null
Propertyprotected$_minorProtocolVersion = null

Can be set to either an integer >= 0, or NULL if no minor version should be sent to the server.

Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_minorProtocolVersion  
Inherited_from
\Zend_Gdata_App_Entry::$$_minorProtocolVersion  
Inherited_from
\Zend_Gdata_App_MediaEntry::$$_minorProtocolVersion  
Inherited_from
\Zend_Gdata_Entry::$$_minorProtocolVersion  
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_minorProtocolVersion  
See
\global\setMinorProtocolVersion()  
See
\global\getMinorProtocolVersion()  
Propertyprotectedstring $_movies = null
inherited

Movies

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_movies
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_movies  
Propertyprotectedstring $_music = null
inherited

Music

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_music
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_music  
Propertyprotectedarray $_namespaceLookupCache = array()
staticinherited

<p>Memoized results from calls to lookupNamespace() to avoid expensive calls to getGreatestBoundedValue(). The key is in the form 'prefix-majorVersion-minorVersion', and the value is the output from getGreatestBoundedValue().</p> Inherited from: \Zend_Gdata_App_Base::$$_namespaceLookupCache\Zend_Gdata_App_FeedEntryParent::$$_namespaceLookupCache\Zend_Gdata_App_Entry::$$_namespaceLookupCache\Zend_Gdata_App_MediaEntry::$$_namespaceLookupCache\Zend_Gdata_Entry::$$_namespaceLookupCache\Zend_Gdata_YouTube_UserProfileEntry::$$_namespaceLookupCache
Propertyprotectedarray $_namespaces = array('atom' => array(1 => array(0 => 'http://www.w3.org/2005/Atom')), 'app' => array(1 => array(0 => 'http://purl.org/atom/app#'), 2 => array(0 => 'http://www.w3.org/2007/app')))

The first dimension represents the namespace prefix, the second dimension represents the minimum major protocol version, and the third dimension is the minimum minor protocol version. Null keys are NOT allowed.

When looking up a namespace for a given prefix, the greatest version number (both major and minor) which is less than the effective version should be used.

Default valuearray('atom' => array(1 => array(0 => 'http://www.w3.org/2005/Atom')), 'app' => array(1 => array(0 => 'http://purl.org/atom/app#'), 2 => array(0 => 'http://www.w3.org/2007/app')))Details
Type
array
Inherited_from
\Zend_Gdata_App_Base::$$_namespaces  
Inherited_from
\Zend_Gdata_App_FeedEntryParent::$$_namespaces  
Inherited_from
\Zend_Gdata_App_Entry::$$_namespaces  
Inherited_from
\Zend_Gdata_App_MediaEntry::$$_namespaces  
Inherited_from
\Zend_Gdata_Entry::$$_namespaces  
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_namespaces  
See
\global\lookupNamespace()  
See
\global\registerNamespace()  
See
\global\registerAllNamespaces()  
Propertyprotectedstring $_occupation = null
inherited

Occupation

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_occupation
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_occupation  
Propertyprotectedstring $_relationship = null
inherited

Relationship

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_relationship
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_relationship  
Propertyprotectedstring $_school = null
inherited

School

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_school
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_school  
Propertyprotected\Zend_Gdata_YouTube_Extension_Statistics $_statistics = null
inherited

Statistics

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_statistics
Propertyprotectedstring $_status = null

Status of the user as a contact

Default valuenullDetails
Type
string
Propertyprotected\Zend_Gdata_Media_Extension_MediaThumbnail $_thumbnail = null
inherited

Thumbnail

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_thumbnail
Propertyprotectedstring $_username = null
inherited

The username for this profile entry

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::$$_username
Default valuenullDetails
Type
string
Inherited_from
\Zend_Gdata_YouTube_UserProfileEntry::$$_username  

Methods

methodpublic__construct(\DOMElement $element = null) : void

Constructs a new Contact Entry object, to represent an individual contact for a user

Parameters
Name Type Description
$element \DOMElement

(optional) DOMElement from which this object should be constructed.

methodpublic__get(string $name) : void
inherited

Magic getter to allow access like $entry->foo to call $entry->getFoo() Alternatively, if no getFoo() is defined, but a $_foo protected variable is defined, this is returned.

Inherited from: \Zend_Gdata_App_Base::__get()\Zend_Gdata_App_FeedEntryParent::__get()\Zend_Gdata_App_Entry::__get()\Zend_Gdata_App_MediaEntry::__get()\Zend_Gdata_Entry::__get()\Zend_Gdata_YouTube_UserProfileEntry::__get()

TODO Remove ability to bypass getFoo() methods??

Parameters
Name Type Description
$name string

The variable name sought

methodpublic__set(string $name,  $val) : void

Alternatively, if no setFoo() is defined, but a $_foo protected variable is defined, this is returned.

TODO Remove ability to bypass getFoo() methods??

Parameters
Name Type Description
$name string
$val
methodpublic__toString() : string
Returns
Type Description
string The text representation of this object
methodpublicdelete() : void
inherited

Deletes this entry to the server using the referenced Zend_Http_Client to do a HTTP DELETE to the edit link stored in this entry's link collection.

Inherited from: \Zend_Gdata_App_Entry::delete()\Zend_Gdata_App_MediaEntry::delete()\Zend_Gdata_Entry::delete()\Zend_Gdata_YouTube_UserProfileEntry::delete()
Throws
Exception Description
\Zend_Gdata_App_Exception
methodpublicencode() : string | \Zend_Gdata_MediaMimeStream
inherited

Return the MIME multipart representation of this MediaEntry.

Inherited from: \Zend_Gdata_App_MediaEntry::encode()\Zend_Gdata_Entry::encode()\Zend_Gdata_YouTube_UserProfileEntry::encode()

Can be overridden by children to provide more complex representations of entries.

Returns
Type Description
string | \Zend_Gdata_MediaMimeStream The MIME multipart representation of this MediaEntry. If the entry consisted only of XML, a string is returned.
methodpublicflushNamespaceLookupCache() : void

Empties the namespace lookup cache. Call this function if you have added data to the namespace lookup table that contradicts values that may have been cached during a previous call to lookupNamespace().

methodpublicgetAboutMe() : \Zend_Gdata_YouTube_Extension_AboutMe
inherited

Returns the contents of the 'about me' field.

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getAboutMe()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_AboutMe The 'about me' information
Throws
Exception Description
\Zend_Gdata_App_VersionException
methodpublicgetAge() : \Zend_Gdata_YouTube_Extension_Age
inherited

Returns the age

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getAge()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Age The age
methodpublicgetAlternateLink() : \Zend_Gdata_App_Extension_Link
inherited

Returns the Zend_Gdata_App_Extension_Link element which represents the URL for an alternate view of the data represented by this feed or entry.

Inherited from: \Zend_Gdata_App_FeedEntryParent::getAlternateLink()\Zend_Gdata_App_Entry::getAlternateLink()\Zend_Gdata_App_MediaEntry::getAlternateLink()\Zend_Gdata_Entry::getAlternateLink()\Zend_Gdata_YouTube_UserProfileEntry::getAlternateLink()

This alternate view is commonly a user-facing webpage, blog post, etc. The MIME type for the data at the URL is available from the returned Zend_Gdata_App_Extension_Link element. This link is in the atom feed/entry as an atom:link with a rel attribute value of 'self'.

Returns
Type Description
\Zend_Gdata_App_Extension_Link The link, or null if not found
methodpublicgetBooks() : \Zend_Gdata_YouTube_Extension_Books
inherited

Returns the books

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getBooks()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Books The books
methodpublicgetCategory() : array

Each category is represented in an atom feed by an atom:category element.

Returns
Type Description
array Array of Zend_Gdata_App_Extension_Category
methodpublicgetCompany() : \Zend_Gdata_YouTube_Extension_Company
inherited

Returns the company

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getCompany()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Company The company
methodpublicgetContactsFeedUrl() : string
inherited

Returns the URL of the contacts feed

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getContactsFeedUrl()
Returns
Type Description
string The URL of the contacts feed
methodpublicgetContributor() : array

Each contributor is represented in an atom feed by an atom:contributor XML element

Returns
Type Description
array An array of Zend_Gdata_App_Extension_Contributor
methodpublicgetDOM(\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.

Parameters
Name Type Description
$doc \DOMDocument

The DOMDocument used to construct DOMElements

$majorVersion
$minorVersion
Returns
Type Description
\DOMElement The DOMElement representing this element and all child properties.
methodpublicgetEditLink() : \Zend_Gdata_App_Extension_Link

This link is in the atom feed/entry as an atom:link with a rel attribute value of 'edit'.

Returns
Type Description
\Zend_Gdata_App_Extension_Link The link, or null if not found
methodpublicgetEtag() : string | null
Returns
Type Description
string | null
methodpublicgetExtensionAttributes() : array

Each element of the array is a hashed array of the format: array('namespaceUri' => string, 'name' => string, 'value' => string);

Returns
Type Description
array All extension attributes
methodpublicgetExtensionElements() : array
Returns
Type Description
array All elements not matched to data model classes during parsing
methodpublicgetFavoritesFeedUrl() : string
inherited

Returns the URL of the favorites feed

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getFavoritesFeedUrl()
Returns
Type Description
string The URL of the favorites feed
methodpublicgetFeedLink(string $rel = null) : mixed
inherited

Get the feed link property for this entry.

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getFeedLink()
Parameters
Name Type Description
$rel string

(optional) The rel value of the link to be found. If null, the array of links is returned.

Returns
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.
Details
See
\global\setFeedLink  
methodpublicgetFeedLinkHref(string $rel) : mixed
inherited

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

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getFeedLinkHref()
Parameters
Name Type Description
$rel string

The rel value to find

Returns
Type Description
mixed Either the URL as a string or null if a feedLink wasn't found with the provided rel value
methodpublicgetFirstName() : \Zend_Gdata_YouTube_Extension_FirstName
inherited

Returns the first name

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getFirstName()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_FirstName The first name
Throws
Exception Description
\Zend_Gdata_App_VersionException
methodpublicgetGender() : \Zend_Gdata_YouTube_Extension_Gender
inherited

Returns the gender

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getGender()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Gender The gender
methodpublicgetHobbies() : \Zend_Gdata_YouTube_Extension_Hobbies
inherited

Returns the hobbies

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getHobbies()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Hobbies The hobbies
methodpublicgetHometown() : \Zend_Gdata_YouTube_Extension_Hometown
inherited

Returns the hometown

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getHometown()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Hometown The hometown
methodpublicgetHttpClient() : \Zend_Http_Client_Abstract

If none is set, a new Zend_Http_Client will be used.

Returns
Type Description
\Zend_Http_Client_Abstract
methodpublicgetLastName() : \Zend_Gdata_YouTube_Extension_LastName
inherited

Returns the last name

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getLastName()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_LastName The last name
Throws
Exception Description
\Zend_Gdata_App_VersionException
methodpublicgetLink(string $rel = null) : mixed
inherited

Given a particular 'rel' value, this method returns a matching Zend_Gdata_App_Extension_Link element.

Inherited from: \Zend_Gdata_App_FeedEntryParent::getLink()\Zend_Gdata_App_Entry::getLink()\Zend_Gdata_App_MediaEntry::getLink()\Zend_Gdata_Entry::getLink()\Zend_Gdata_YouTube_UserProfileEntry::getLink()

If the 'rel' value is not provided, the full array of Zend_Gdata_App_Extension_Link elements is returned. In an atom feed, each link is represented by an atom:link element. The 'rel' value passed to this function is the atom:link/@rel attribute. Example rel values include 'self', 'edit', and 'alternate'.

Parameters
Name Type Description
$rel string

The rel value of the link to be found. If null, the array of Zend_Gdata_App_Extension_link elements is returned

Returns
Type Description
mixed Either a single Zend_Gdata_App_Extension_link element, an array of the same or null is returned depending on the rel value supplied as the argument to this function
methodpublicgetLocation() : \Zend_Gdata_YouTube_Extension_Location
inherited

Returns the location

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getLocation()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Location The location
methodpublicgetMajorProtocolVersion() : \(int | \NULL)
Returns
Type Description
\(int | \NULL) The major protocol version in use.
Details
See
\global\_majorProtocolVersion  
methodpublicgetMediaSource() : \Zend_Gdata_App_MediaSource
inherited

Return the MediaSource object representing the file attached to this MediaEntry.

Inherited from: \Zend_Gdata_App_MediaEntry::getMediaSource()\Zend_Gdata_Entry::getMediaSource()\Zend_Gdata_YouTube_UserProfileEntry::getMediaSource()
Returns
Type Description
\Zend_Gdata_App_MediaSource The attached MediaSource/file
methodpublicgetMinorProtocolVersion() : \(int | \NULL)
Returns
Type Description
\(int | \NULL) The major protocol version in use, or NULL if no minor version is specified.
Details
See
\global\_minorProtocolVersion  
methodpublicgetMovies() : \Zend_Gdata_YouTube_Extension_Movies
inherited

Returns the movies

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getMovies()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Movies The movies
methodpublicgetMusic() : \Zend_Gdata_YouTube_Extension_Music
inherited

Returns the music

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getMusic()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Music The music
methodpublicgetNextLink() : \Zend_Gdata_App_Extension_Link
inherited

Returns the Zend_Gdata_App_Extension_Link element which represents the URL used to retrieve the next chunk of results when paging through a feed.

Inherited from: \Zend_Gdata_App_FeedEntryParent::getNextLink()\Zend_Gdata_App_Entry::getNextLink()\Zend_Gdata_App_MediaEntry::getNextLink()\Zend_Gdata_Entry::getNextLink()\Zend_Gdata_YouTube_UserProfileEntry::getNextLink()

This link is in the atom feed as an atom:link with a rel attribute value of 'next'.

Returns
Type Description
\Zend_Gdata_App_Extension_Link The link, or null if not found
methodpublicgetOccupation() : \Zend_Gdata_YouTube_Extension_Occupation
inherited

Returns the occupation

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getOccupation()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Occupation The occupation
methodpublicgetPlaylistListFeedUrl() : string
inherited

Returns the URL of the playlist list feed

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getPlaylistListFeedUrl()
Returns
Type Description
string The URL of the playlist video feed
methodpublicgetPreviousLink() : \Zend_Gdata_App_Extension_Link
inherited

Returns the Zend_Gdata_App_Extension_Link element which represents the URL used to retrieve the previous chunk of results when paging through a feed.

Inherited from: \Zend_Gdata_App_FeedEntryParent::getPreviousLink()\Zend_Gdata_App_Entry::getPreviousLink()\Zend_Gdata_App_MediaEntry::getPreviousLink()\Zend_Gdata_Entry::getPreviousLink()\Zend_Gdata_YouTube_UserProfileEntry::getPreviousLink()

This link is in the atom feed as an atom:link with a rel attribute value of 'previous'.

Returns
Type Description
\Zend_Gdata_App_Extension_Link The link, or null if not found
methodpublicgetPublished() : \Zend_Gdata_App_Extension_Published
inherited

Sets the value of the atom:published element This represents the publishing date for an entry

Inherited from: \Zend_Gdata_App_Entry::getPublished()\Zend_Gdata_App_MediaEntry::getPublished()\Zend_Gdata_Entry::getPublished()\Zend_Gdata_YouTube_UserProfileEntry::getPublished()
Returns
Type Description
\Zend_Gdata_App_Extension_Published
methodpublicgetRelationship() : \Zend_Gdata_YouTube_Extension_Relationship
inherited

Returns the relationship

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getRelationship()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Relationship The relationship
methodpublicgetRights() : \Zend_Gdata_AppExtension_Rights
Returns
Type Description
\Zend_Gdata_AppExtension_Rights
methodpublicgetSchool() : \Zend_Gdata_YouTube_Extension_School
inherited

Returns the school

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getSchool()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_School The school
methodpublicgetSelfLink() : \Zend_Gdata_App_Extension_Link
inherited

Returns the Zend_Gdata_App_Extension_Link element which represents the URL used to retrieve the entry or feed represented by this object This link is in the atom feed/entry as an atom:link with a rel attribute value of 'self'.

Inherited from: \Zend_Gdata_App_FeedEntryParent::getSelfLink()\Zend_Gdata_App_Entry::getSelfLink()\Zend_Gdata_App_MediaEntry::getSelfLink()\Zend_Gdata_Entry::getSelfLink()\Zend_Gdata_YouTube_UserProfileEntry::getSelfLink()
Returns
Type Description
\Zend_Gdata_App_Extension_Link The link, or null if not found
methodpublicgetService() : \Zend_Gdata_App | null

This will be used to perform network requests, such as when calling save() and delete().

Returns
Type Description
\Zend_Gdata_App | null The current service instance, or null if not set.
methodpublicgetStatistics() : \Zend_Gdata_YouTube_Extension_Statistics
inherited

Returns the statistics

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getStatistics()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Statistics The profile statistics
Throws
Exception Description
\Zend_Gdata_App_VersionException
methodpublicgetStatus() : \Zend_Gdata_YouTube_Extension_Status

Returns the status

Returns
Type Description
\Zend_Gdata_YouTube_Extension_Status The status
methodpublicgetSubscriptionsFeedUrl() : string
inherited

Returns the URL of the subscriptions feed

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getSubscriptionsFeedUrl()
Returns
Type Description
string The URL of the subscriptions feed
methodpublicgetSummary() : \Zend_Gdata_App_Extension_Summary
inherited

Gets the value of the atom:summary element This represents a textual summary of this entry's content

Inherited from: \Zend_Gdata_App_Entry::getSummary()\Zend_Gdata_App_MediaEntry::getSummary()\Zend_Gdata_Entry::getSummary()\Zend_Gdata_YouTube_UserProfileEntry::getSummary()
Returns
Type Description
\Zend_Gdata_App_Extension_Summary
methodpublicgetText( $trim = true) : string
Parameters
Name Type Description
$trim
Returns
Type Description
string Child text node
methodpublicgetThumbnail() : \Zend_Gdata_Media_Extension_MediaThumbnail
inherited

Returns the thumbnail

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getThumbnail()
Returns
Type Description
\Zend_Gdata_Media_Extension_MediaThumbnail The profile thumbnail
Throws
Exception Description
\Zend_Gdata_App_VersionException
methodpublicgetTitle() : \Zend_Gdata_App_Extension_Title

The title is an extremely short textual representation of this resource and is found as an atom:title element in a feed or entry

Returns
Type Description
\Zend_Gdata_App_Extension_Title
methodpublicgetTitleValue() : string

The title is an extremely short textual representation of this resource and is found as an atom:title element in a feed or entry

Returns
Type Description
string
methodpublicgetUploadsFeedUrl() : string
inherited

Returns the URL of the uploads feed

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getUploadsFeedUrl()
Returns
Type Description
string The URL of the uploads video feed
methodpublicgetUsername() : \Zend_Gdata_YouTube_Extension_Username
inherited

Returns the username

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::getUsername()
Returns
Type Description
\Zend_Gdata_YouTube_Extension_Username The username
methodpublicgetXML() : string
Returns
Type Description
string XML content
methodpubliclookupNamespace(string $prefix, integer $majorVersion = null, integer $minorVersion = null) : string

Looks up a prefix (atom:, etc.) in the list of registered namespaces and returns the full namespace URI if available. Returns the prefix, unmodified, if it's not registered.

The current entry or feed's version will be used when performing the namespace lookup unless overridden using $majorVersion and $minorVersion. If the entry/fee has a null version, then the latest protocol version will be used by default.

Parameters
Name Type Description
$prefix string

The namespace prefix to lookup.

$majorVersion integer

The major protocol version in effect. Defaults to null (auto-select).

$minorVersion integer

The minor protocol version in effect. Defaults to null (auto-select).

Returns
Type Description
string
methodpublicregisterAllNamespaces(array $namespaceArray) : void

Takes an array in the format of: namespace prefix, namespace URI, major protocol version, minor protocol version and adds them with calls to ->registerNamespace()

Parameters
Name Type Description
$namespaceArray array

An array of namespaces.

methodpublicregisterNamespace(string $prefix, string $namespaceUri, integer $majorVersion = 1, integer $minorVersion = 0) : void

Takes a prefix and a full namespace URI and adds them to the list of registered namespaces for use by $this->lookupNamespace().

WARNING: Currently, registering a namespace will NOT invalidate any memoized data stored in $_namespaceLookupCache. Under normal use, this behavior is acceptable. If you are adding contradictory data to the namespace lookup table, you must call flushNamespaceLookupCache().

Parameters
Name Type Description
$prefix string

The namespace prefix

$namespaceUri string

The full namespace URI

$majorVersion integer

The major protocol version in effect. Defaults to '1'.

$minorVersion integer

The minor protocol version in effect. Defaults to null (use latest).

methodpublicreload(string | null $uri = null, string | null $className = null, array $extraHeaders = array()) : mixed

Returns a new copy of the entry as returned by the server, or null if no changes exist. This does not modify the current entry instance.

Parameters
Name Type Description
$uri string | null

The URI to send requests to, or null if $data contains the URI.

$className string | null

The name of the class that should we deserializing the server response. If null, then 'Zend_Gdata_App_Entry' will be used.

$extraHeaders array

Extra headers to add to the request, as an array of string-based key/value pairs.

Returns
Type Description
mixed A new instance of the current entry with updated data, or null if the server reports that no changes have been made.
Throws
Exception Description
\Zend_Gdata_App_Exception
methodpublicsave(string | null $uri = null, string | null $className = null, array $extraHeaders = array()) : \Zend_Gdata_App_Entry
inherited

Uploads changes in this entry to the server using Zend_Gdata_App

Inherited from: \Zend_Gdata_App_Entry::save()\Zend_Gdata_App_MediaEntry::save()\Zend_Gdata_Entry::save()\Zend_Gdata_YouTube_UserProfileEntry::save()
Parameters
Name Type Description
$uri string | null

The URI to send requests to, or null if $data contains the URI.

$className string | null

The name of the class that should we deserializing the server response. If null, then 'Zend_Gdata_App_Entry' will be used.

$extraHeaders array

Extra headers to add to the request, as an array of string-based key/value pairs.

Returns
Type Description
\Zend_Gdata_App_Entry The updated entry.
Throws
Exception Description
\Zend_Gdata_App_Exception
methodpublicsaveXML() : string
Returns
Type Description
string XML content
methodpublicsetAboutMe(\Zend_Gdata_YouTube_Extension_AboutMe $aboutMe = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the content of the 'about me' field.

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setAboutMe()
Parameters
Name Type Description
$aboutMe \Zend_Gdata_YouTube_Extension_AboutMe

The 'about me' information.

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
Throws
Exception Description
\Zend_Gdata_App_VersionException
methodpublicsetAge(\Zend_Gdata_YouTube_Extension_Age $age = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the age

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setAge()
Parameters
Name Type Description
$age \Zend_Gdata_YouTube_Extension_Age

The age

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetAuthor(array $value) : \Zend_Gdata_App_FeedEntryParent

In an atom feed, each author is represented by an atom:author element

Parameters
Name Type Description
$value array
Returns
Type Description
\Zend_Gdata_App_FeedEntryParent Provides a fluent interface
methodpublicsetBooks(\Zend_Gdata_YouTube_Extension_Books $books = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the books

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setBooks()
Parameters
Name Type Description
$books \Zend_Gdata_YouTube_Extension_Books

The books

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetCategory(array $value) : \Zend_Gdata_App_FeedEntryParent

Each category is represented in an atom feed by an atom:category element.

Parameters
Name Type Description
$value array

Array of Zend_Gdata_App_Extension_Category

Returns
Type Description
\Zend_Gdata_App_FeedEntryParent Provides a fluent interface
methodpublicsetCompany(\Zend_Gdata_YouTube_Extension_Company $company = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the company

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setCompany()
Parameters
Name Type Description
$company \Zend_Gdata_YouTube_Extension_Company

The company

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetContent(\Zend_Gdata_App_Extension_Content $value) : \Zend_Gdata_App_Entry
Parameters
Name Type Description
$value \Zend_Gdata_App_Extension_Content
Returns
Type Description
\Zend_Gdata_App_Entry Provides a fluent interface
methodpublicsetContributor(array $value) : \Zend_Gdata_App_FeedEntryParent

Each contributor is represented in an atom feed by an atom:contributor XML element

Parameters
Name Type Description
$value array
Returns
Type Description
\Zend_Gdata_App_FeedEntryParent Provides a fluent interface
methodpublicsetControl(\Zend_Gdata_App_Extension_Control $value) : \Zend_Gdata_App_Entry
Parameters
Name Type Description
$value \Zend_Gdata_App_Extension_Control
Returns
Type Description
\Zend_Gdata_App_Entry Provides a fluent interface
methodpublicsetEtag(string | null $value) : \Zend_Gdata_App_Entry

Setting $value to null unsets the Etag.

Parameters
Name Type Description
$value string | null
Returns
Type Description
\Zend_Gdata_App_Entry Provides a fluent interface
methodpublicsetExtensionAttributes(array $value) : \Zend_Gdata_App_Base

Each element of the array is a hashed array of the format: array('namespaceUri' => string, 'name' => string, 'value' => string); This can be used to add arbitrary attributes to any data model element

Parameters
Name Type Description
$value array

All extension attributes

Returns
Type Description
\Zend_Gdata_App_Base Returns an object of the same type as 'this' to provide a fluent interface.
methodpublicsetExtensionElements(array $value) : \Zend_Gdata_App_Base

This method can be used to add arbitrary child XML elements to any data model class.

Parameters
Name Type Description
$value array

All extension elements

Returns
Type Description
\Zend_Gdata_App_Base Returns an object of the same type as 'this' to provide a fluent interface.
methodpublicsetFeedLink(array $feedLink = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the array of embedded feeds related to the video

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setFeedLink()
Parameters
Name Type Description
$feedLink array

The array of embedded feeds relating to the video

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetFirstName(\Zend_Gdata_YouTube_Extension_FirstName $firstName = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the content of the 'first name' field.

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setFirstName()
Parameters
Name Type Description
$firstName \Zend_Gdata_YouTube_Extension_FirstName

The first name

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
Throws
Exception Description
\Zend_Gdata_App_VersionException
methodpublicsetGender(\Zend_Gdata_YouTube_Extension_Gender $gender = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the gender

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setGender()
Parameters
Name Type Description
$gender \Zend_Gdata_YouTube_Extension_Gender

The gender

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetHobbies(\Zend_Gdata_YouTube_Extension_Hobbies $hobbies = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the hobbies

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setHobbies()
Parameters
Name Type Description
$hobbies \Zend_Gdata_YouTube_Extension_Hobbies

The hobbies

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetHometown(\Zend_Gdata_YouTube_Extension_Hometown $hometown = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the hometown

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setHometown()
Parameters
Name Type Description
$hometown \Zend_Gdata_YouTube_Extension_Hometown

The hometown

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetHttpClient(\Zend_Http_Client $httpClient) : \Zend_Gdata_App_FeedEntryParent

Sets the HTTP client object to use for retrieving the feed.

Parameters
Name Type Description
$httpClient \Zend_Http_Client
Returns
Type Description
\Zend_Gdata_App_FeedEntryParent Provides a fluent interface
methodpublicsetLastName(\Zend_Gdata_YouTube_Extension_LastName $lastName = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the content of the 'last name' field.

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setLastName()
Parameters
Name Type Description
$lastName \Zend_Gdata_YouTube_Extension_LastName

The last name

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
Throws
Exception Description
\Zend_Gdata_App_VersionException
methodpublicsetLink(array $value) : \Zend_Gdata_App_FeedEntryParent
Parameters
Name Type Description
$value array

The array of Zend_Gdata_App_Extension_Link elements

Returns
Type Description
\Zend_Gdata_App_FeedEntryParent Provides a fluent interface
methodpublicsetLocation(\Zend_Gdata_YouTube_Extension_Location $location = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the location

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setLocation()
Parameters
Name Type Description
$location \Zend_Gdata_YouTube_Extension_Location

The location

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetMajorProtocolVersion(\(int | \NULL) $value) : void

Values < 1 (excluding NULL) will cause a Zend_Gdata_App_InvalidArgumentException to be thrown.

Parameters
Name Type Description
$value \(int | \NULL)

The major protocol version to use.

Throws
Exception Description
\Zend_Gdata_App_InvalidArgumentException
Details
See
\global\_majorProtocolVersion  
methodpublicsetMediaSource(\Zend_Gdata_App_MediaSource $value) : \Zend_Gdata_App_MediaEntry
Parameters
Name Type Description
$value \Zend_Gdata_App_MediaSource

The attached MediaSource/file

Returns
Type Description
\Zend_Gdata_App_MediaEntry Provides a fluent interface
methodpublicsetMinorProtocolVersion(\(int | \NULL) $value) : void

If set to NULL, no minor protocol version will be sent to the server. Values < 0 will cause a Zend_Gdata_App_InvalidArgumentException to be thrown.

Parameters
Name Type Description
$value \(int | \NULL)

The minor protocol version to use.

Throws
Exception Description
\Zend_Gdata_App_InvalidArgumentException
Details
See
\global\_minorProtocolVersion  
methodpublicsetMovies(\Zend_Gdata_YouTube_Extension_Movies $movies = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the movies

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setMovies()
Parameters
Name Type Description
$movies \Zend_Gdata_YouTube_Extension_Movies

The movies

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetMusic(\Zend_Gdata_YouTube_Extension_Music $music = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the music

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setMusic()
Parameters
Name Type Description
$music \Zend_Gdata_YouTube_Extension_Music

The music

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetOccupation(\Zend_Gdata_YouTube_Extension_Occupation $occupation = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the occupation

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setOccupation()
Parameters
Name Type Description
$occupation \Zend_Gdata_YouTube_Extension_Occupation

The occupation

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetPublished(\Zend_Gdata_App_Extension_Published $value) : \Zend_Gdata_App_Entry
inherited

Sets the value of the atom:published element This represents the publishing date for an entry

Inherited from: \Zend_Gdata_App_Entry::setPublished()\Zend_Gdata_App_MediaEntry::setPublished()\Zend_Gdata_Entry::setPublished()\Zend_Gdata_YouTube_UserProfileEntry::setPublished()
Parameters
Name Type Description
$value \Zend_Gdata_App_Extension_Published
Returns
Type Description
\Zend_Gdata_App_Entry Provides a fluent interface
methodpublicsetRelationship(\Zend_Gdata_YouTube_Extension_Relationship $relationship = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the relationship

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setRelationship()
Parameters
Name Type Description
$relationship \Zend_Gdata_YouTube_Extension_Relationship

The relationship

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetSchool(\Zend_Gdata_YouTube_Extension_School $school = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the school

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setSchool()
Parameters
Name Type Description
$school \Zend_Gdata_YouTube_Extension_School

The school

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodpublicsetService(\Zend_Gdata_App $instance) : \Zend_Gdata_App_FeedEntryParent

This will be used to perform network requests, such as when calling save() and delete().

Parameters
Name Type Description
$instance \Zend_Gdata_App

The new service instance.

Returns
Type Description
\Zend_Gdata_App_FeedEntryParent Provides a fluent interface.
methodpublicsetSource(\Zend_Gdata_App_Extension_Source $value) : \Zend_Gdata_App_Entry
Parameters
Name Type Description
$value \Zend_Gdata_App_Extension_Source
Returns
Type Description
\Zend_Gdata_App_Entry Provides a fluent interface
methodpublicsetStatus(\Zend_Gdata_YouTube_Extension_Status $status = null) : \Zend_Gdata_YouTube_ContactEntry

Sets the status

Parameters
Name Type Description
$status \Zend_Gdata_YouTube_Extension_Status

The status

Returns
Type Description
\Zend_Gdata_YouTube_ContactEntry Provides a fluent interface
methodpublicsetSummary(\Zend_Gdata_App_Extension_Summary $value) : \Zend_Gdata_App_Entry
inherited

Sets the value of the atom:summary element This represents a textual summary of this entry's content

Inherited from: \Zend_Gdata_App_Entry::setSummary()\Zend_Gdata_App_MediaEntry::setSummary()\Zend_Gdata_Entry::setSummary()\Zend_Gdata_YouTube_UserProfileEntry::setSummary()
Parameters
Name Type Description
$value \Zend_Gdata_App_Extension_Summary
Returns
Type Description
\Zend_Gdata_App_Entry Provides a fluent interface
methodpublicsetText(string $value) : \Zend_Gdata_App_Base
Parameters
Name Type Description
$value string

Child text node

Returns
Type Description
\Zend_Gdata_App_Base Returns an object of the same type as 'this' to provide a fluent interface.
methodpublicsetTitle(\Zend_Gdata_App_Extension_Title $value) : \Zend_Gdata_App_FeedEntryParent

The title is an extremely short textual representation of this resource and is found as an atom:title element in a feed or entry

Parameters
Name Type Description
$value \Zend_Gdata_App_Extension_Title
Returns
Type Description
\Zend_Gdata_App_FeedEntryParent Provides a fluent interface
methodpublicsetUsername(\Zend_Gdata_YouTube_Extension_Username $username = null) : \Zend_Gdata_YouTube_UserProfileEntry
inherited

Sets the username

Inherited from: \Zend_Gdata_YouTube_UserProfileEntry::setUsername()
Parameters
Name Type Description
$username \Zend_Gdata_YouTube_Extension_Username

The username

Returns
Type Description
\Zend_Gdata_YouTube_UserProfileEntry Provides a fluent interface
methodprotectedtakeAttributeFromDOM(\DOMNode $attribute) : void
inherited

Given a DOMNode representing an attribute, tries to map the data into instance members.

Inherited from: \Zend_Gdata_Entry::takeAttributeFromDOM()\Zend_Gdata_YouTube_UserProfileEntry::takeAttributeFromDOM()

If no mapping is defined, the name and value are stored in an array.

Parameters
Name Type Description
$attribute \DOMNode

The DOMNode attribute needed to be handled

methodprotectedtakeChildFromDOM(\DOMNode $child) : void

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

If no mapping is defined, Extension_Element objects are created and stored in an array.

Parameters
Name Type Description
$child \DOMNode

The DOMNode to process

methodpublictransferFromDOM(\DOMNode $node) : void

This is called when XML is received over the wire and the data model needs to be built to represent this XML.

Parameters
Name Type Description
$node \DOMNode

The DOMNode that represents this object's data

methodpublictransferFromXML(string $xml) : void
inherited

Parses the provided XML text and generates data model classes for each know element by turning the XML text into a DOM tree and calling transferFromDOM($element).

Inherited from: \Zend_Gdata_App_Base::transferFromXML()\Zend_Gdata_App_FeedEntryParent::transferFromXML()\Zend_Gdata_App_Entry::transferFromXML()\Zend_Gdata_App_MediaEntry::transferFromXML()\Zend_Gdata_Entry::transferFromXML()\Zend_Gdata_YouTube_UserProfileEntry::transferFromXML()

The first data model element with the same name as $this->_rootElement is used and the child elements are recursively parsed.

Parameters
Name Type Description
$xml string

The XML text to parse

Documentation was generated by phpDocumentor 2.0.0a8.