Gdata/Photos/PhotoEntry.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 [email protected] 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_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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected$_entryClassName = 'Zend_Gdata_Photos_PhotoEntry'
Default value'Zend_Gdata_Photos_PhotoEntry'Details
Type
n/a
>VPropertyprotected\Zend_Gdata_Exif_Extension_Tags $_exifTags = null
exif:tags element
Default valuenullDetails
Type
\Zend_Gdata_Exif_Extension_Tags
>VPropertyprotected\Zend_Gdata_Geo_Extension_GeoRssWhere $_geoRssWhere = null
georss:where element
Default valuenullDetails
Type
\Zend_Gdata_Geo_Extension_GeoRssWhere
>VPropertyprotected\Zend_Gdata_Photos_Extension_AlbumId $_gphotoAlbumId = null
gphoto:albumid element
Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_AlbumId
>VPropertyprotected\Zend_Gdata_Photos_Extension_Checksum $_gphotoChecksum = null
gphoto:checksum element
Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Checksum
>VPropertyprotected\Zend_Gdata_Photos_Extension_Client $_gphotoClient = null
gphoto:client element
Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Client
>VPropertyprotected\Zend_Gdata_Photos_Extension_CommentCount $_gphotoCommentCount = null
gphoto:commentCount element
Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_CommentCount
>VPropertyprotected\Zend_Gdata_Photos_Extension_CommentingEnabled $_gphotoCommentingEnabled = null
gphoto:commentingEnabled element
>VPropertyprotected\Zend_Gdata_Photos_Extension_Height $_gphotoHeight = null
gphoto:height element
Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Height
>VPropertyprotected\Zend_Gdata_Photos_Extension_Id $_gphotoId = null
gphoto:id element
Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Id
>VPropertyprotected\Zend_Gdata_Photos_Extension_Size $_gphotoSize = null
gphoto:size element
Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Size
>VPropertyprotected\Zend_Gdata_Photos_Extension_Timestamp $_gphotoTimestamp = null
gphoto:timestamp element
Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Timestamp
>VPropertyprotected\Zend_Gdata_Photos_Extension_Version $_gphotoVersion = null
gphoto:version element
Default valuenullDetails
Type
\Zend_Gdata_Photos_Extension_Version
>VPropertyprotected\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
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.
methodpublicgetExifTags() : string

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Returns
TypeDescription
stringThe requested attribute.
Details
See
 
methodpublicsetExifTags(string $value) : \Zend_Gdata_Exif_Extension_Tags

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Exif_Extension_TagsThe element being modified.
methodpublicsetGeoRssWhere(string $value) : \Zend_Gdata_Geo_Extension_GeoRssWhere

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Geo_Extension_GeoRssWhereThe element being modified.
methodpublicsetGphotoAlbumId(string $value) : \Zend_Gdata_Photos_Extension_AlbumId

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Photos_Extension_AlbumIdThe element being modified.
methodpublicsetGphotoChecksum(string $value) : \Zend_Gdata_Photos_Extension_Checksum

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Photos_Extension_ChecksumThe element being modified.
methodpublicsetGphotoClient(string $value) : \Zend_Gdata_Photos_Extension_Client

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Photos_Extension_ClientThe element being modified.
methodpublicsetGphotoCommentCount(string $value) : \Zend_Gdata_Photos_Extension_CommentCount

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Photos_Extension_CommentCountThe element being modified.
methodpublicsetGphotoCommentingEnabled(string $value) : \Zend_Gdata_Photos_Extension_CommentingEnabled

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Photos_Extension_CommentingEnabledThe element being modified.
methodpublicsetGphotoHeight(string $value) : \Zend_Gdata_Photos_Extension_Height

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Photos_Extension_HeightThe element being modified.
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.
methodpublicsetGphotoSize(string $value) : \Zend_Gdata_Photos_Extension_Size

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Photos_Extension_SizeThe element being modified.
methodpublicsetGphotoTimestamp(string $value) : \Zend_Gdata_Photos_Extension_Timestamp

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Photos_Extension_TimestampThe element being modified.
methodpublicsetGphotoVersion(string $value) : \Zend_Gdata_Photos_Extension_Version

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Photos_Extension_VersionThe element being modified.
methodpublicsetGphotoWidth(string $value) : \Zend_Gdata_Photos_Extension_Width

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Photos_Extension_WidthThe element being modified.
methodpublicsetMediaGroup(string $value) : \Zend_Gdata_Media_Extension_MediaGroup

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

Parameters
NameTypeDescription
$valuestring

The desired value for this attribute.

Returns
TypeDescription
\Zend_Gdata_Media_Extension_MediaGroupThe 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 .