API Documentation

Gdata/YouTube/InboxEntry.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Gdata
subpackage
YouTube
version
$Id: InboxEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Gdata_YouTube_InboxEntry

Description

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 license@zend.com so we can send you a copy immediately.

Zend_Gdata_YouTube_InboxEntry

Extends from
Zend_Gdata_Media_Entry
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Gdata
subpackage
YouTube
Properties
$_entryClassName
$_comments
$_rating
$_statistics
$_description
Methods
__construct
getDOM
takeChildFromDOM
getDescription
setDescription
getRating
setRating
getComments
setComments
getStatistics
setStatistics

Description

Represents the YouTube message flavor of an Atom entry

Properties

$_comments

Zend_Gdata_Extension_Comments $_comments = 'null'

The gd:comments element of this entry.

Details

$_comments
Zend_Gdata_Extension_Comments
visibility
protected
default
null
final
false
static
false

$_description

Zend_Gdata_YouTube_Extension_Description $_description = 'null'

The yt:description element of this entry.

Details

$_description
Zend_Gdata_YouTube_Extension_Description
visibility
protected
default
null
final
false
static
false

$_entryClassName

 $_entryClassName = 'Zend_Gdata_YouTube_InboxEntry'

Details

visibility
protected
default
Zend_Gdata_YouTube_InboxEntry
final
false
static
false

$_rating

Zend_Gdata_Extension_Rating $_rating = 'null'

The gd:rating element of this entry.

Details

$_rating
Zend_Gdata_Extension_Rating
visibility
protected
default
null
final
false
static
false

$_statistics

Zend_Gdata_YouTube_Extension_Statistics $_statistics = 'null'

The yt:statistics element of this entry.

Details

$_statistics
Zend_Gdata_YouTube_Extension_Statistics
visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct( DOMElement $element = null ) :

Creates a subscription entry, representing an individual subscription in a list of subscriptions, usually associated with an individual user.

Arguments
$element
DOMElement
(optional) DOMElement from which this object should be constructed.
Details
visibility
public
final
false
static
false

getComments

getComments( ) : Zend_Gdata_Extension_Comments|null

Get the gd:comments element of the inbox entry.

Details
visibility
public
final
false
static
false

getDOM

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.

Arguments
$doc
DOMDocument
The DOMDocument used to construct DOMElements
$majorVersion
$minorVersion
Output
DOMElement
The DOMElement representing this element and all child properties.
Details
visibility
public
final
false
static
false

getDescription

getDescription( ) : Zend_Gdata_YouTube_Extension_Description|null

Get the yt:description

Details
visibility
public
final
false
static
false
throws

getRating

getRating( ) : Zend_Gdata_Extension_Rating|null

Get the gd:rating element for the inbox entry

Details
visibility
public
final
false
static
false

getStatistics

getStatistics( ) : Zend_Gdata_YouTube_Extension_Statistics|null

Get the yt:statistics element for the inbox entry

Details
visibility
public
final
false
static
false

setComments

setComments( Zend_Gdata_Extension_Comments $comments = null ) : Zend_Gdata_YouTube_InboxEntry

Sets the gd:comments element for the inbox entry

Arguments
$comments
Zend_Gdata_Extension_Comments
The comments feed link
Output
Zend_Gdata_YouTube_InboxEntry
Provides a fluent interface
Details
visibility
public
final
false
static
false

setDescription

setDescription( Zend_Gdata_YouTube_Extension_Description $description = null ) : Zend_Gdata_YouTube_InboxEntry

Sets the yt:description element for a new inbox entry.

Arguments
$description
Zend_Gdata_YouTube_Extension_Description
The description.
Output
Zend_Gdata_YouTube_InboxEntry
Provides a fluent interface
Details
visibility
public
final
false
static
false
throws

setRating

setRating( Zend_Gdata_Extension_Rating $rating = null ) : Zend_Gdata_YouTube_InboxEntry

Sets the gd:rating element for the inbox entry

Arguments
$rating
Zend_Gdata_Extension_Rating
The rating for the video in the message
Output
Zend_Gdata_YouTube_InboxEntry
Provides a fluent interface
Details
visibility
public
final
false
static
false

setStatistics

setStatistics( Zend_Gdata_YouTube_Extension_Statistics $statistics = null ) : Zend_Gdata_YouTube_InboxEntry

Sets the yt:statistics element for the inbox entry

Arguments
$statistics
Zend_Gdata_YouTube_Extension_Statistics
The statistics element for the video in the message
Output
Zend_Gdata_YouTube_InboxEntry
Provides a fluent interface
Details
visibility
public
final
false
static
false

takeChildFromDOM

takeChildFromDOM( DOMNode $child ) :

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

Arguments
$child
DOMNode
The DOMNode to process
Details
visibility
protected
final
false
static
false
Documentation was generated by DocBlox.