Gdata/Photos/CommentEntry.php

Show: PublicProtectedPrivateinherited
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 license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Gdata  
Subpackage
Photos  
Version
$Id$  

\Zend_Gdata_Photos_CommentEntry

Package: Zend_Gdata\Photos
Data model class for a Comment Entry.
To transfer user entries to and from the servers, including creating new entries, refer to the service class, Zend_Gdata_Photos. This class represents in the Google Data protocol.
Parent(s)
\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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected$_entryClassName = 'Zend_Gdata_Photos_CommentEntry'
Default value'Zend_Gdata_Photos_CommentEntry'Details
Type
n/a
>VPropertyprotected\Zend_Gdata_Photos_Extension_Id $_gphotoId = null
gphoto:id element
Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Id
>VPropertyprotected\Zend_Gdata_Photos_Extension_PhotoId $_gphotoPhotoId = null
gphoto:photoid element, differs from gphoto:id as this is an actual identification number unique exclusively to photo entries, whereas gphoto:id can refer to all gphoto objects
Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_PhotoId

Methods

methodpublic__construct(\DOMElement $element = null) : void

Create a new instance.

Parameters
NameTypeDescription
$element\DOMElement

(optional) DOMElement from which this

     object should be constructed.
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 application storage/persistence.

Parameters
NameTypeDescription
$doc\DOMDocument

The DOMDocument used to construct DOMElements

$majorVersion
$minorVersion
Returns
TypeDescription
\DOMElementThe DOMElement representing this element and all child properties.
methodpublicgetGphotoId() : string

Get the value for this element's gphoto:id attribute.

Returns
TypeDescription
stringThe requested attribute.
Details
See
 
methodpublicgetGphotoPhotoId() : string

Get the value for this element's gphoto:photoid attribute.

Returns
TypeDescription
stringThe requested attribute.
Details
See
 
methodpublicsetGphotoId(string $value) : \Zend_Gdata_Photos_Extension_Id

Set the value for this element's gphoto:id attribute.

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Photos_Extension_IdThe element being modified.
methodpublicsetGphotoPhotoId(string $value) : \Zend_Gdata_Photos_Extension_PhotoId

Set the value for this element's gphoto:photoid attribute.

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Photos_Extension_PhotoIdThe element being modified.
methodprotectedtakeChildFromDOM(\DOMNode $child) : void

Creates individual Entry objects of the appropriate type and stores them as members of this entry based upon DOM data.

Parameters
NameTypeDescription
$child\DOMNode

The DOMNode to process

Documentation was generated by phpDocumentor 2.2.0 .