API Documentation

Zend/Gdata/Photos/PhotoEntry.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 license@zend.com 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
Photos  
Version
$Id: PhotoEntry.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Gdata_Photos_PhotoEntry

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_Media_Entry < \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

Propertyprotected  $_entryClassName= ''Zend_Gdata_Photos_PhotoEntry''
Default value'Zend_Gdata_Photos_PhotoEntry'Details
Type
Propertyprotected\Zend_Gdata_Exif_Extension_Tags  $_exifTags= 'null'

exif:tags element

Default valuenullDetails
Type
\Zend_Gdata_Exif_Extension_Tags
Propertyprotected\Zend_Gdata_Geo_Extension_GeoRssWhere  $_geoRssWhere= 'null'

georss:where element

Default valuenullDetails
Type
\Zend_Gdata_Geo_Extension_GeoRssWhere
Propertyprotected\Zend_Gdata_Photos_Extension_AlbumId  $_gphotoAlbumId= 'null'

gphoto:albumid element

Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_AlbumId
Propertyprotected\Zend_Gdata_Photos_Extension_Checksum  $_gphotoChecksum= 'null'

gphoto:checksum element

Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Checksum
Propertyprotected\Zend_Gdata_Photos_Extension_Client  $_gphotoClient= 'null'

gphoto:client element

Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Client
Propertyprotected\Zend_Gdata_Photos_Extension_CommentCount  $_gphotoCommentCount= 'null'

gphoto:commentCount element

Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_CommentCount
Propertyprotected\Zend_Gdata_Photos_Extension_CommentingEnabled  $_gphotoCommentingEnabled= 'null'

gphoto:commentingEnabled element

Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_CommentingEnabled
Propertyprotected\Zend_Gdata_Photos_Extension_Height  $_gphotoHeight= 'null'

gphoto:height element

Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Height
Propertyprotected\Zend_Gdata_Photos_Extension_Id  $_gphotoId= 'null'

gphoto:id element

Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Id
Propertyprotected\Zend_Gdata_Photos_Extension_Size  $_gphotoSize= 'null'

gphoto:size element

Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Size
Propertyprotected\Zend_Gdata_Photos_Extension_Timestamp  $_gphotoTimestamp= 'null'

gphoto:timestamp element

Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Timestamp
Propertyprotected\Zend_Gdata_Photos_Extension_Version  $_gphotoVersion= 'null'

gphoto:version element

Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Version
Propertyprotected\Zend_Gdata_Photos_Extension_Width  $_gphotoWidth= 'null'

gphoto:width element

Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Width

Methods

methodpublic__construct( \DOMElement $element = null ) : void

Create a new instance.

Parameters
Name Type Description
$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
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.
methodpublicgetExifTags( ) : string

Get the value for this element's exif:tags attribute.

Returns
Type Description
string The requested attribute.
Details
See
\setExifTags  
methodpublicgetGeoRssWhere( ) : string

Get the value for this element's georss:where attribute.

Returns
Type Description
string The requested attribute.
Details
See
\setGeoRssWhere  
methodpublicgetGphotoAlbumId( ) : string

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

Returns
Type Description
string The requested attribute.
Details
See
\setGphotoAlbumId  
methodpublicgetGphotoChecksum( ) : string

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

Returns
Type Description
string The requested attribute.
Details
See
\setGphotoChecksum  
methodpublicgetGphotoClient( ) : string

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

Returns
Type Description
string The requested attribute.
Details
See
\setGphotoClient  
methodpublicgetGphotoCommentCount( ) : string

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

Returns
Type Description
string The requested attribute.
Details
See
\setGphotoCommentCount  
methodpublicgetGphotoCommentingEnabled( ) : string

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

Returns
Type Description
string The requested attribute.
Details
See
\setGphotoCommentingEnabled  
methodpublicgetGphotoHeight( ) : string

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

Returns
Type Description
string The requested attribute.
Details
See
\setGphotoHeight  
methodpublicgetGphotoId( ) : string

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

Returns
Type Description
string The requested attribute.
Details
See
\setGphotoId  
methodpublicgetGphotoSize( ) : string

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

Returns
Type Description
string The requested attribute.
Details
See
\setGphotoSize  
methodpublicgetGphotoTimestamp( ) : string

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

Returns
Type Description
string The requested attribute.
Details
See
\setGphotoTimestamp  
methodpublicgetGphotoVersion( ) : string

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

Returns
Type Description
string The requested attribute.
Details
See
\setGphotoVersion  
methodpublicgetGphotoWidth( ) : string

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

Returns
Type Description
string The requested attribute.
Details
See
\setGphotoWidth  
methodpublicgetMediaGroup( ) : string

Get the value for this element's media:group attribute.

Returns
Type Description
string The requested attribute.
Details
See
\setMediaGroup  
methodpublicsetExifTags( string $value ) : \Zend_Gdata_Exif_Extension_Tags

Set the value for this element's exif:tags attribute.

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Exif_Extension_Tags The element being modified.
methodpublicsetGeoRssWhere( string $value ) : \Zend_Gdata_Geo_Extension_GeoRssWhere

Set the value for this element's georss:where attribute.

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Geo_Extension_GeoRssWhere The element being modified.
methodpublicsetGphotoAlbumId( string $value ) : \Zend_Gdata_Photos_Extension_AlbumId

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

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Photos_Extension_AlbumId The element being modified.
methodpublicsetGphotoChecksum( string $value ) : \Zend_Gdata_Photos_Extension_Checksum

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

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Photos_Extension_Checksum The element being modified.
methodpublicsetGphotoClient( string $value ) : \Zend_Gdata_Photos_Extension_Client

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

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Photos_Extension_Client The element being modified.
methodpublicsetGphotoCommentCount( string $value ) : \Zend_Gdata_Photos_Extension_CommentCount

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

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Photos_Extension_CommentCount The element being modified.
methodpublicsetGphotoCommentingEnabled( string $value ) : \Zend_Gdata_Photos_Extension_CommentingEnabled

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

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Photos_Extension_CommentingEnabled The element being modified.
methodpublicsetGphotoHeight( string $value ) : \Zend_Gdata_Photos_Extension_Height

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

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Photos_Extension_Height The element being modified.
methodpublicsetGphotoId( string $value ) : \Zend_Gdata_Photos_Extension_Id

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

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Photos_Extension_Id The element being modified.
methodpublicsetGphotoSize( string $value ) : \Zend_Gdata_Photos_Extension_Size

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

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Photos_Extension_Size The element being modified.
methodpublicsetGphotoTimestamp( string $value ) : \Zend_Gdata_Photos_Extension_Timestamp

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

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Photos_Extension_Timestamp The element being modified.
methodpublicsetGphotoVersion( string $value ) : \Zend_Gdata_Photos_Extension_Version

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

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Photos_Extension_Version The element being modified.
methodpublicsetGphotoWidth( string $value ) : \Zend_Gdata_Photos_Extension_Width

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

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Photos_Extension_Width The element being modified.
methodpublicsetMediaGroup( string $value ) : \Zend_Gdata_Media_Extension_MediaGroup

Set the value for this element's media:group attribute.

Parameters
Name Type Description
$value string

The desired value for this attribute.

Returns
Type Description
\Zend_Gdata_Media_Extension_MediaGroup The 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
Name Type Description
$child \DOMNode

The DOMNode to process

Documentation was generated by DocBlox 0.15.1.