API Documentation

Gdata/Photos/CommentEntry.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
Photos
version
$Id: CommentEntry.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Gdata_Photos_CommentEntry

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_Photos_CommentEntry

Extends from
Zend_Gdata_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
Photos
Properties
$_entryClassName
$_gphotoId
$_gphotoPhotoId
Methods
__construct
getDOM
takeChildFromDOM
getGphotoPhotoId
setGphotoPhotoId
getGphotoId
setGphotoId

Description

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.

Properties

$_entryClassName

 $_entryClassName = 'Zend_Gdata_Photos_CommentEntry'

Details

visibility
protected
default
Zend_Gdata_Photos_CommentEntry
final
false
static
false

$_gphotoId

Zend_Gdata_Photos_Extension_Id $_gphotoId = 'null'

gphoto:id element

Details

$_gphotoId
Zend_Gdata_Photos_Extension_Id
visibility
protected
default
null
final
false
static
false

$_gphotoPhotoId

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

Details

$_gphotoPhotoId
Zend_Gdata_Photos_Extension_PhotoId
visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct( DOMElement $element = null ) :

Create a new instance.

Arguments
$element
DOMElement
(optional) DOMElement from which this object should be constructed.
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 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

getGphotoId

getGphotoId( ) : string

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

Output
string
The requested attribute.
Details
visibility
public
final
false
static
false
see
setGphotoId

getGphotoPhotoId

getGphotoPhotoId( ) : string

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

Output
string
The requested attribute.
Details
visibility
public
final
false
static
false
see
setGphotoPhotoId

setGphotoId

setGphotoId( string $value ) : Zend_Gdata_Photos_Extension_Id

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

Arguments
$value
string
The desired value for this attribute.
Output
Zend_Gdata_Photos_Extension_Id
The element being modified.
Details
visibility
public
final
false
static
false

setGphotoPhotoId

setGphotoPhotoId( string $value ) : Zend_Gdata_Photos_Extension_PhotoId

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

Arguments
$value
string
The desired value for this attribute.
Output
Zend_Gdata_Photos_Extension_PhotoId
The element being modified.
Details
visibility
public
final
false
static
false

takeChildFromDOM

takeChildFromDOM( DOMNode $child ) :

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

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