1 | <?php
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * Zend Framework
|
---|
5 | *
|
---|
6 | * LICENSE
|
---|
7 | *
|
---|
8 | * This source file is subject to the new BSD license that is bundled
|
---|
9 | * with this package in the file LICENSE.txt.
|
---|
10 | * It is also available through the world-wide-web at this URL:
|
---|
11 | * http://framework.zend.com/license/new-bsd
|
---|
12 | * If you did not receive a copy of the license and are unable to
|
---|
13 | * obtain it through the world-wide-web, please send an email
|
---|
14 | * to license@zend.com so we can send you a copy immediately.
|
---|
15 | *
|
---|
16 | * @category Zend
|
---|
17 | * @package Zend_Gdata
|
---|
18 | * @subpackage Photos
|
---|
19 | * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
---|
20 | * @license http://framework.zend.com/license/new-bsd New BSD License
|
---|
21 | */
|
---|
22 |
|
---|
23 | /**
|
---|
24 | * @see Zend_Gdata_MediaEntry
|
---|
25 | */
|
---|
26 | require_once 'Zend/Gdata/Media/Entry.php';
|
---|
27 |
|
---|
28 | /**
|
---|
29 | * @see Zend_Gdata_Photos_Extension_PhotoId
|
---|
30 | */
|
---|
31 | require_once 'Zend/Gdata/Photos/Extension/PhotoId.php';
|
---|
32 |
|
---|
33 | /**
|
---|
34 | * @see Zend_Gdata_Photos_Extension_Version
|
---|
35 | */
|
---|
36 | require_once 'Zend/Gdata/Photos/Extension/Version.php';
|
---|
37 |
|
---|
38 | /**
|
---|
39 | * @see Zend_Gdata_Photos_Extension_AlbumId
|
---|
40 | */
|
---|
41 | require_once 'Zend/Gdata/Photos/Extension/AlbumId.php';
|
---|
42 |
|
---|
43 | /**
|
---|
44 | * @see Zend_Gdata_Photos_Extension_Id
|
---|
45 | */
|
---|
46 | require_once 'Zend/Gdata/Photos/Extension/Id.php';
|
---|
47 |
|
---|
48 | /**
|
---|
49 | * @see Zend_Gdata_Photos_Extension_Width
|
---|
50 | */
|
---|
51 | require_once 'Zend/Gdata/Photos/Extension/Width.php';
|
---|
52 |
|
---|
53 | /**
|
---|
54 | * @see Zend_Gdata_Photos_Extension_Height
|
---|
55 | */
|
---|
56 | require_once 'Zend/Gdata/Photos/Extension/Height.php';
|
---|
57 |
|
---|
58 | /**
|
---|
59 | * @see Zend_Gdata_Photos_Extension_Size
|
---|
60 | */
|
---|
61 | require_once 'Zend/Gdata/Photos/Extension/Size.php';
|
---|
62 |
|
---|
63 | /**
|
---|
64 | * @see Zend_Gdata_Photos_Extension_Client
|
---|
65 | */
|
---|
66 | require_once 'Zend/Gdata/Photos/Extension/Client.php';
|
---|
67 |
|
---|
68 | /**
|
---|
69 | * @see Zend_Gdata_Photos_Extension_Checksum
|
---|
70 | */
|
---|
71 | require_once 'Zend/Gdata/Photos/Extension/Checksum.php';
|
---|
72 |
|
---|
73 | /**
|
---|
74 | * @see Zend_Gdata_Photos_Extension_Timestamp
|
---|
75 | */
|
---|
76 | require_once 'Zend/Gdata/Photos/Extension/Timestamp.php';
|
---|
77 |
|
---|
78 | /**
|
---|
79 | * @see Zend_Gdata_Photos_Extension_CommentingEnabled
|
---|
80 | */
|
---|
81 | require_once 'Zend/Gdata/Photos/Extension/CommentingEnabled.php';
|
---|
82 |
|
---|
83 | /**
|
---|
84 | * @see Zend_Gdata_Photos_Extension_CommentCount
|
---|
85 | */
|
---|
86 | require_once 'Zend/Gdata/Photos/Extension/CommentCount.php';
|
---|
87 |
|
---|
88 | /**
|
---|
89 | * @see Zend_Gdata_Exif_Extension_Tags
|
---|
90 | */
|
---|
91 | require_once 'Zend/Gdata/Exif/Extension/Tags.php';
|
---|
92 |
|
---|
93 | /**
|
---|
94 | * @see Zend_Gdata_Geo_Extension_GeoRssWhere
|
---|
95 | */
|
---|
96 | require_once 'Zend/Gdata/Geo/Extension/GeoRssWhere.php';
|
---|
97 |
|
---|
98 | /**
|
---|
99 | * @see Zend_Gdata_App_Extension_Category
|
---|
100 | */
|
---|
101 | require_once 'Zend/Gdata/App/Extension/Category.php';
|
---|
102 |
|
---|
103 | /**
|
---|
104 | * Data model class for a Comment Entry.
|
---|
105 | *
|
---|
106 | * To transfer user entries to and from the servers, including
|
---|
107 | * creating new entries, refer to the service class,
|
---|
108 | * Zend_Gdata_Photos.
|
---|
109 | *
|
---|
110 | * This class represents <atom:entry> in the Google Data protocol.
|
---|
111 | *
|
---|
112 | * @category Zend
|
---|
113 | * @package Zend_Gdata
|
---|
114 | * @subpackage Photos
|
---|
115 | * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
---|
116 | * @license http://framework.zend.com/license/new-bsd New BSD License
|
---|
117 | */
|
---|
118 | class Zend_Gdata_Photos_PhotoEntry extends Zend_Gdata_Media_Entry
|
---|
119 | {
|
---|
120 |
|
---|
121 | protected $_entryClassName = 'Zend_Gdata_Photos_PhotoEntry';
|
---|
122 |
|
---|
123 | /**
|
---|
124 | * gphoto:id element
|
---|
125 | *
|
---|
126 | * @var Zend_Gdata_Photos_Extension_Id
|
---|
127 | */
|
---|
128 | protected $_gphotoId = null;
|
---|
129 |
|
---|
130 | /**
|
---|
131 | * gphoto:albumid element
|
---|
132 | *
|
---|
133 | * @var Zend_Gdata_Photos_Extension_AlbumId
|
---|
134 | */
|
---|
135 | protected $_gphotoAlbumId = null;
|
---|
136 |
|
---|
137 | /**
|
---|
138 | * gphoto:version element
|
---|
139 | *
|
---|
140 | * @var Zend_Gdata_Photos_Extension_Version
|
---|
141 | */
|
---|
142 | protected $_gphotoVersion = null;
|
---|
143 |
|
---|
144 | /**
|
---|
145 | * gphoto:width element
|
---|
146 | *
|
---|
147 | * @var Zend_Gdata_Photos_Extension_Width
|
---|
148 | */
|
---|
149 | protected $_gphotoWidth = null;
|
---|
150 |
|
---|
151 | /**
|
---|
152 | * gphoto:height element
|
---|
153 | *
|
---|
154 | * @var Zend_Gdata_Photos_Extension_Height
|
---|
155 | */
|
---|
156 | protected $_gphotoHeight = null;
|
---|
157 |
|
---|
158 | /**
|
---|
159 | * gphoto:size element
|
---|
160 | *
|
---|
161 | * @var Zend_Gdata_Photos_Extension_Size
|
---|
162 | */
|
---|
163 | protected $_gphotoSize = null;
|
---|
164 |
|
---|
165 | /**
|
---|
166 | * gphoto:client element
|
---|
167 | *
|
---|
168 | * @var Zend_Gdata_Photos_Extension_Client
|
---|
169 | */
|
---|
170 | protected $_gphotoClient = null;
|
---|
171 |
|
---|
172 | /**
|
---|
173 | * gphoto:checksum element
|
---|
174 | *
|
---|
175 | * @var Zend_Gdata_Photos_Extension_Checksum
|
---|
176 | */
|
---|
177 | protected $_gphotoChecksum = null;
|
---|
178 |
|
---|
179 | /**
|
---|
180 | * gphoto:timestamp element
|
---|
181 | *
|
---|
182 | * @var Zend_Gdata_Photos_Extension_Timestamp
|
---|
183 | */
|
---|
184 | protected $_gphotoTimestamp = null;
|
---|
185 |
|
---|
186 | /**
|
---|
187 | * gphoto:commentCount element
|
---|
188 | *
|
---|
189 | * @var Zend_Gdata_Photos_Extension_CommentCount
|
---|
190 | */
|
---|
191 | protected $_gphotoCommentCount = null;
|
---|
192 |
|
---|
193 | /**
|
---|
194 | * gphoto:commentingEnabled element
|
---|
195 | *
|
---|
196 | * @var Zend_Gdata_Photos_Extension_CommentingEnabled
|
---|
197 | */
|
---|
198 | protected $_gphotoCommentingEnabled = null;
|
---|
199 |
|
---|
200 | /**
|
---|
201 | * exif:tags element
|
---|
202 | *
|
---|
203 | * @var Zend_Gdata_Exif_Extension_Tags
|
---|
204 | */
|
---|
205 | protected $_exifTags = null;
|
---|
206 |
|
---|
207 | /**
|
---|
208 | * georss:where element
|
---|
209 | *
|
---|
210 | * @var Zend_Gdata_Geo_Extension_GeoRssWhere
|
---|
211 | */
|
---|
212 | protected $_geoRssWhere = null;
|
---|
213 |
|
---|
214 | /**
|
---|
215 | * Create a new instance.
|
---|
216 | *
|
---|
217 | * @param DOMElement $element (optional) DOMElement from which this
|
---|
218 | * object should be constructed.
|
---|
219 | */
|
---|
220 | public function __construct($element = null)
|
---|
221 | {
|
---|
222 | $this->registerAllNamespaces(Zend_Gdata_Photos::$namespaces);
|
---|
223 | parent::__construct($element);
|
---|
224 |
|
---|
225 | $category = new Zend_Gdata_App_Extension_Category(
|
---|
226 | 'http://schemas.google.com/photos/2007#photo',
|
---|
227 | 'http://schemas.google.com/g/2005#kind');
|
---|
228 | $this->setCategory(array($category));
|
---|
229 | }
|
---|
230 |
|
---|
231 | /**
|
---|
232 | * Retrieves a DOMElement which corresponds to this element and all
|
---|
233 | * child properties. This is used to build an entry back into a DOM
|
---|
234 | * and eventually XML text for application storage/persistence.
|
---|
235 | *
|
---|
236 | * @param DOMDocument $doc The DOMDocument used to construct DOMElements
|
---|
237 | * @return DOMElement The DOMElement representing this element and all
|
---|
238 | * child properties.
|
---|
239 | */
|
---|
240 | public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
|
---|
241 | {
|
---|
242 | $element = parent::getDOM($doc, $majorVersion, $minorVersion);
|
---|
243 | if ($this->_gphotoAlbumId !== null) {
|
---|
244 | $element->appendChild($this->_gphotoAlbumId->getDOM($element->ownerDocument));
|
---|
245 | }
|
---|
246 | if ($this->_gphotoId !== null) {
|
---|
247 | $element->appendChild($this->_gphotoId->getDOM($element->ownerDocument));
|
---|
248 | }
|
---|
249 | if ($this->_gphotoVersion !== null) {
|
---|
250 | $element->appendChild($this->_gphotoVersion->getDOM($element->ownerDocument));
|
---|
251 | }
|
---|
252 | if ($this->_gphotoWidth !== null) {
|
---|
253 | $element->appendChild($this->_gphotoWidth->getDOM($element->ownerDocument));
|
---|
254 | }
|
---|
255 | if ($this->_gphotoHeight !== null) {
|
---|
256 | $element->appendChild($this->_gphotoHeight->getDOM($element->ownerDocument));
|
---|
257 | }
|
---|
258 | if ($this->_gphotoSize !== null) {
|
---|
259 | $element->appendChild($this->_gphotoSize->getDOM($element->ownerDocument));
|
---|
260 | }
|
---|
261 | if ($this->_gphotoClient !== null) {
|
---|
262 | $element->appendChild($this->_gphotoClient->getDOM($element->ownerDocument));
|
---|
263 | }
|
---|
264 | if ($this->_gphotoChecksum !== null) {
|
---|
265 | $element->appendChild($this->_gphotoChecksum->getDOM($element->ownerDocument));
|
---|
266 | }
|
---|
267 | if ($this->_gphotoTimestamp !== null) {
|
---|
268 | $element->appendChild($this->_gphotoTimestamp->getDOM($element->ownerDocument));
|
---|
269 | }
|
---|
270 | if ($this->_gphotoCommentingEnabled !== null) {
|
---|
271 | $element->appendChild($this->_gphotoCommentingEnabled->getDOM($element->ownerDocument));
|
---|
272 | }
|
---|
273 | if ($this->_gphotoCommentCount !== null) {
|
---|
274 | $element->appendChild($this->_gphotoCommentCount->getDOM($element->ownerDocument));
|
---|
275 | }
|
---|
276 | if ($this->_exifTags !== null) {
|
---|
277 | $element->appendChild($this->_exifTags->getDOM($element->ownerDocument));
|
---|
278 | }
|
---|
279 | if ($this->_geoRssWhere !== null) {
|
---|
280 | $element->appendChild($this->_geoRssWhere->getDOM($element->ownerDocument));
|
---|
281 | }
|
---|
282 | return $element;
|
---|
283 | }
|
---|
284 |
|
---|
285 | /**
|
---|
286 | * Creates individual Entry objects of the appropriate type and
|
---|
287 | * stores them as members of this entry based upon DOM data.
|
---|
288 | *
|
---|
289 | * @param DOMNode $child The DOMNode to process
|
---|
290 | */
|
---|
291 | protected function takeChildFromDOM($child)
|
---|
292 | {
|
---|
293 | $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
|
---|
294 |
|
---|
295 | switch ($absoluteNodeName) {
|
---|
296 | case $this->lookupNamespace('gphoto') . ':' . 'albumid';
|
---|
297 | $albumId = new Zend_Gdata_Photos_Extension_AlbumId();
|
---|
298 | $albumId->transferFromDOM($child);
|
---|
299 | $this->_gphotoAlbumId = $albumId;
|
---|
300 | break;
|
---|
301 | case $this->lookupNamespace('gphoto') . ':' . 'id';
|
---|
302 | $id = new Zend_Gdata_Photos_Extension_Id();
|
---|
303 | $id->transferFromDOM($child);
|
---|
304 | $this->_gphotoId = $id;
|
---|
305 | break;
|
---|
306 | case $this->lookupNamespace('gphoto') . ':' . 'version';
|
---|
307 | $version = new Zend_Gdata_Photos_Extension_Version();
|
---|
308 | $version->transferFromDOM($child);
|
---|
309 | $this->_gphotoVersion = $version;
|
---|
310 | break;
|
---|
311 | case $this->lookupNamespace('gphoto') . ':' . 'width';
|
---|
312 | $width = new Zend_Gdata_Photos_Extension_Width();
|
---|
313 | $width->transferFromDOM($child);
|
---|
314 | $this->_gphotoWidth = $width;
|
---|
315 | break;
|
---|
316 | case $this->lookupNamespace('gphoto') . ':' . 'height';
|
---|
317 | $height = new Zend_Gdata_Photos_Extension_Height();
|
---|
318 | $height->transferFromDOM($child);
|
---|
319 | $this->_gphotoHeight = $height;
|
---|
320 | break;
|
---|
321 | case $this->lookupNamespace('gphoto') . ':' . 'size';
|
---|
322 | $size = new Zend_Gdata_Photos_Extension_Size();
|
---|
323 | $size->transferFromDOM($child);
|
---|
324 | $this->_gphotoSize = $size;
|
---|
325 | break;
|
---|
326 | case $this->lookupNamespace('gphoto') . ':' . 'client';
|
---|
327 | $client = new Zend_Gdata_Photos_Extension_Client();
|
---|
328 | $client->transferFromDOM($child);
|
---|
329 | $this->_gphotoClient = $client;
|
---|
330 | break;
|
---|
331 | case $this->lookupNamespace('gphoto') . ':' . 'checksum';
|
---|
332 | $checksum = new Zend_Gdata_Photos_Extension_Checksum();
|
---|
333 | $checksum->transferFromDOM($child);
|
---|
334 | $this->_gphotoChecksum = $checksum;
|
---|
335 | break;
|
---|
336 | case $this->lookupNamespace('gphoto') . ':' . 'timestamp';
|
---|
337 | $timestamp = new Zend_Gdata_Photos_Extension_Timestamp();
|
---|
338 | $timestamp->transferFromDOM($child);
|
---|
339 | $this->_gphotoTimestamp = $timestamp;
|
---|
340 | break;
|
---|
341 | case $this->lookupNamespace('gphoto') . ':' . 'commentingEnabled';
|
---|
342 | $commentingEnabled = new Zend_Gdata_Photos_Extension_CommentingEnabled();
|
---|
343 | $commentingEnabled->transferFromDOM($child);
|
---|
344 | $this->_gphotoCommentingEnabled = $commentingEnabled;
|
---|
345 | break;
|
---|
346 | case $this->lookupNamespace('gphoto') . ':' . 'commentCount';
|
---|
347 | $commentCount = new Zend_Gdata_Photos_Extension_CommentCount();
|
---|
348 | $commentCount->transferFromDOM($child);
|
---|
349 | $this->_gphotoCommentCount = $commentCount;
|
---|
350 | break;
|
---|
351 | case $this->lookupNamespace('exif') . ':' . 'tags';
|
---|
352 | $exifTags = new Zend_Gdata_Exif_Extension_Tags();
|
---|
353 | $exifTags->transferFromDOM($child);
|
---|
354 | $this->_exifTags = $exifTags;
|
---|
355 | break;
|
---|
356 | case $this->lookupNamespace('georss') . ':' . 'where';
|
---|
357 | $geoRssWhere = new Zend_Gdata_Geo_Extension_GeoRssWhere();
|
---|
358 | $geoRssWhere->transferFromDOM($child);
|
---|
359 | $this->_geoRssWhere = $geoRssWhere;
|
---|
360 | break;
|
---|
361 | default:
|
---|
362 | parent::takeChildFromDOM($child);
|
---|
363 | break;
|
---|
364 |
|
---|
365 | }
|
---|
366 | }
|
---|
367 |
|
---|
368 | /**
|
---|
369 | * Get the value for this element's gphoto:albumid attribute.
|
---|
370 | *
|
---|
371 | * @see setGphotoAlbumId
|
---|
372 | * @return string The requested attribute.
|
---|
373 | */
|
---|
374 | public function getGphotoAlbumId()
|
---|
375 | {
|
---|
376 | return $this->_gphotoAlbumId;
|
---|
377 | }
|
---|
378 |
|
---|
379 | /**
|
---|
380 | * Set the value for this element's gphoto:albumid attribute.
|
---|
381 | *
|
---|
382 | * @param string $value The desired value for this attribute.
|
---|
383 | * @return Zend_Gdata_Photos_Extension_AlbumId The element being modified.
|
---|
384 | */
|
---|
385 | public function setGphotoAlbumId($value)
|
---|
386 | {
|
---|
387 | $this->_gphotoAlbumId = $value;
|
---|
388 | return $this;
|
---|
389 | }
|
---|
390 |
|
---|
391 | /**
|
---|
392 | * Get the value for this element's gphoto:id attribute.
|
---|
393 | *
|
---|
394 | * @see setGphotoId
|
---|
395 | * @return string The requested attribute.
|
---|
396 | */
|
---|
397 | public function getGphotoId()
|
---|
398 | {
|
---|
399 | return $this->_gphotoId;
|
---|
400 | }
|
---|
401 |
|
---|
402 | /**
|
---|
403 | * Set the value for this element's gphoto:id attribute.
|
---|
404 | *
|
---|
405 | * @param string $value The desired value for this attribute.
|
---|
406 | * @return Zend_Gdata_Photos_Extension_Id The element being modified.
|
---|
407 | */
|
---|
408 | public function setGphotoId($value)
|
---|
409 | {
|
---|
410 | $this->_gphotoId = $value;
|
---|
411 | return $this;
|
---|
412 | }
|
---|
413 |
|
---|
414 | /**
|
---|
415 | * Get the value for this element's gphoto:version attribute.
|
---|
416 | *
|
---|
417 | * @see setGphotoVersion
|
---|
418 | * @return string The requested attribute.
|
---|
419 | */
|
---|
420 | public function getGphotoVersion()
|
---|
421 | {
|
---|
422 | return $this->_gphotoVersion;
|
---|
423 | }
|
---|
424 |
|
---|
425 | /**
|
---|
426 | * Set the value for this element's gphoto:version attribute.
|
---|
427 | *
|
---|
428 | * @param string $value The desired value for this attribute.
|
---|
429 | * @return Zend_Gdata_Photos_Extension_Version The element being modified.
|
---|
430 | */
|
---|
431 | public function setGphotoVersion($value)
|
---|
432 | {
|
---|
433 | $this->_gphotoVersion = $value;
|
---|
434 | return $this;
|
---|
435 | }
|
---|
436 |
|
---|
437 | /**
|
---|
438 | * Get the value for this element's gphoto:width attribute.
|
---|
439 | *
|
---|
440 | * @see setGphotoWidth
|
---|
441 | * @return string The requested attribute.
|
---|
442 | */
|
---|
443 | public function getGphotoWidth()
|
---|
444 | {
|
---|
445 | return $this->_gphotoWidth;
|
---|
446 | }
|
---|
447 |
|
---|
448 | /**
|
---|
449 | * Set the value for this element's gphoto:width attribute.
|
---|
450 | *
|
---|
451 | * @param string $value The desired value for this attribute.
|
---|
452 | * @return Zend_Gdata_Photos_Extension_Width The element being modified.
|
---|
453 | */
|
---|
454 | public function setGphotoWidth($value)
|
---|
455 | {
|
---|
456 | $this->_gphotoWidth = $value;
|
---|
457 | return $this;
|
---|
458 | }
|
---|
459 |
|
---|
460 | /**
|
---|
461 | * Get the value for this element's gphoto:height attribute.
|
---|
462 | *
|
---|
463 | * @see setGphotoHeight
|
---|
464 | * @return string The requested attribute.
|
---|
465 | */
|
---|
466 | public function getGphotoHeight()
|
---|
467 | {
|
---|
468 | return $this->_gphotoHeight;
|
---|
469 | }
|
---|
470 |
|
---|
471 | /**
|
---|
472 | * Set the value for this element's gphoto:height attribute.
|
---|
473 | *
|
---|
474 | * @param string $value The desired value for this attribute.
|
---|
475 | * @return Zend_Gdata_Photos_Extension_Height The element being modified.
|
---|
476 | */
|
---|
477 | public function setGphotoHeight($value)
|
---|
478 | {
|
---|
479 | $this->_gphotoHeight = $value;
|
---|
480 | return $this;
|
---|
481 | }
|
---|
482 |
|
---|
483 | /**
|
---|
484 | * Get the value for this element's gphoto:size attribute.
|
---|
485 | *
|
---|
486 | * @see setGphotoSize
|
---|
487 | * @return string The requested attribute.
|
---|
488 | */
|
---|
489 | public function getGphotoSize()
|
---|
490 | {
|
---|
491 | return $this->_gphotoSize;
|
---|
492 | }
|
---|
493 |
|
---|
494 | /**
|
---|
495 | * Set the value for this element's gphoto:size attribute.
|
---|
496 | *
|
---|
497 | * @param string $value The desired value for this attribute.
|
---|
498 | * @return Zend_Gdata_Photos_Extension_Size The element being modified.
|
---|
499 | */
|
---|
500 | public function setGphotoSize($value)
|
---|
501 | {
|
---|
502 | $this->_gphotoSize = $value;
|
---|
503 | return $this;
|
---|
504 | }
|
---|
505 |
|
---|
506 | /**
|
---|
507 | * Get the value for this element's gphoto:client attribute.
|
---|
508 | *
|
---|
509 | * @see setGphotoClient
|
---|
510 | * @return string The requested attribute.
|
---|
511 | */
|
---|
512 | public function getGphotoClient()
|
---|
513 | {
|
---|
514 | return $this->_gphotoClient;
|
---|
515 | }
|
---|
516 |
|
---|
517 | /**
|
---|
518 | * Set the value for this element's gphoto:client attribute.
|
---|
519 | *
|
---|
520 | * @param string $value The desired value for this attribute.
|
---|
521 | * @return Zend_Gdata_Photos_Extension_Client The element being modified.
|
---|
522 | */
|
---|
523 | public function setGphotoClient($value)
|
---|
524 | {
|
---|
525 | $this->_gphotoClient = $value;
|
---|
526 | return $this;
|
---|
527 | }
|
---|
528 |
|
---|
529 | /**
|
---|
530 | * Get the value for this element's gphoto:checksum attribute.
|
---|
531 | *
|
---|
532 | * @see setGphotoChecksum
|
---|
533 | * @return string The requested attribute.
|
---|
534 | */
|
---|
535 | public function getGphotoChecksum()
|
---|
536 | {
|
---|
537 | return $this->_gphotoChecksum;
|
---|
538 | }
|
---|
539 |
|
---|
540 | /**
|
---|
541 | * Set the value for this element's gphoto:checksum attribute.
|
---|
542 | *
|
---|
543 | * @param string $value The desired value for this attribute.
|
---|
544 | * @return Zend_Gdata_Photos_Extension_Checksum The element being modified.
|
---|
545 | */
|
---|
546 | public function setGphotoChecksum($value)
|
---|
547 | {
|
---|
548 | $this->_gphotoChecksum = $value;
|
---|
549 | return $this;
|
---|
550 | }
|
---|
551 |
|
---|
552 | /**
|
---|
553 | * Get the value for this element's gphoto:timestamp attribute.
|
---|
554 | *
|
---|
555 | * @see setGphotoTimestamp
|
---|
556 | * @return string The requested attribute.
|
---|
557 | */
|
---|
558 | public function getGphotoTimestamp()
|
---|
559 | {
|
---|
560 | return $this->_gphotoTimestamp;
|
---|
561 | }
|
---|
562 |
|
---|
563 | /**
|
---|
564 | * Set the value for this element's gphoto:timestamp attribute.
|
---|
565 | *
|
---|
566 | * @param string $value The desired value for this attribute.
|
---|
567 | * @return Zend_Gdata_Photos_Extension_Timestamp The element being modified.
|
---|
568 | */
|
---|
569 | public function setGphotoTimestamp($value)
|
---|
570 | {
|
---|
571 | $this->_gphotoTimestamp = $value;
|
---|
572 | return $this;
|
---|
573 | }
|
---|
574 |
|
---|
575 | /**
|
---|
576 | * Get the value for this element's gphoto:commentCount attribute.
|
---|
577 | *
|
---|
578 | * @see setGphotoCommentCount
|
---|
579 | * @return string The requested attribute.
|
---|
580 | */
|
---|
581 | public function getGphotoCommentCount()
|
---|
582 | {
|
---|
583 | return $this->_gphotoCommentCount;
|
---|
584 | }
|
---|
585 |
|
---|
586 | /**
|
---|
587 | * Set the value for this element's gphoto:commentCount attribute.
|
---|
588 | *
|
---|
589 | * @param string $value The desired value for this attribute.
|
---|
590 | * @return Zend_Gdata_Photos_Extension_CommentCount The element being modified.
|
---|
591 | */
|
---|
592 | public function setGphotoCommentCount($value)
|
---|
593 | {
|
---|
594 | $this->_gphotoCommentCount = $value;
|
---|
595 | return $this;
|
---|
596 | }
|
---|
597 |
|
---|
598 | /**
|
---|
599 | * Get the value for this element's gphoto:commentingEnabled attribute.
|
---|
600 | *
|
---|
601 | * @see setGphotoCommentingEnabled
|
---|
602 | * @return string The requested attribute.
|
---|
603 | */
|
---|
604 | public function getGphotoCommentingEnabled()
|
---|
605 | {
|
---|
606 | return $this->_gphotoCommentingEnabled;
|
---|
607 | }
|
---|
608 |
|
---|
609 | /**
|
---|
610 | * Set the value for this element's gphoto:commentingEnabled attribute.
|
---|
611 | *
|
---|
612 | * @param string $value The desired value for this attribute.
|
---|
613 | * @return Zend_Gdata_Photos_Extension_CommentingEnabled The element being modified.
|
---|
614 | */
|
---|
615 | public function setGphotoCommentingEnabled($value)
|
---|
616 | {
|
---|
617 | $this->_gphotoCommentingEnabled = $value;
|
---|
618 | return $this;
|
---|
619 | }
|
---|
620 |
|
---|
621 | /**
|
---|
622 | * Get the value for this element's exif:tags attribute.
|
---|
623 | *
|
---|
624 | * @see setExifTags
|
---|
625 | * @return string The requested attribute.
|
---|
626 | */
|
---|
627 | public function getExifTags()
|
---|
628 | {
|
---|
629 | return $this->_exifTags;
|
---|
630 | }
|
---|
631 |
|
---|
632 | /**
|
---|
633 | * Set the value for this element's exif:tags attribute.
|
---|
634 | *
|
---|
635 | * @param string $value The desired value for this attribute.
|
---|
636 | * @return Zend_Gdata_Exif_Extension_Tags The element being modified.
|
---|
637 | */
|
---|
638 | public function setExifTags($value)
|
---|
639 | {
|
---|
640 | $this->_exifTags = $value;
|
---|
641 | return $this;
|
---|
642 | }
|
---|
643 |
|
---|
644 | /**
|
---|
645 | * Get the value for this element's georss:where attribute.
|
---|
646 | *
|
---|
647 | * @see setGeoRssWhere
|
---|
648 | * @return string The requested attribute.
|
---|
649 | */
|
---|
650 | public function getGeoRssWhere()
|
---|
651 | {
|
---|
652 | return $this->_geoRssWhere;
|
---|
653 | }
|
---|
654 |
|
---|
655 | /**
|
---|
656 | * Set the value for this element's georss:where attribute.
|
---|
657 | *
|
---|
658 | * @param string $value The desired value for this attribute.
|
---|
659 | * @return Zend_Gdata_Geo_Extension_GeoRssWhere The element being modified.
|
---|
660 | */
|
---|
661 | public function setGeoRssWhere($value)
|
---|
662 | {
|
---|
663 | $this->_geoRssWhere = $value;
|
---|
664 | return $this;
|
---|
665 | }
|
---|
666 |
|
---|
667 | /**
|
---|
668 | * Get the value for this element's media:group attribute.
|
---|
669 | *
|
---|
670 | * @see setMediaGroup
|
---|
671 | * @return string The requested attribute.
|
---|
672 | */
|
---|
673 | public function getMediaGroup()
|
---|
674 | {
|
---|
675 | return $this->_mediaGroup;
|
---|
676 | }
|
---|
677 |
|
---|
678 | /**
|
---|
679 | * Set the value for this element's media:group attribute.
|
---|
680 | *
|
---|
681 | * @param string $value The desired value for this attribute.
|
---|
682 | * @return Zend_Gdata_Media_Extension_MediaGroup The element being modified.
|
---|
683 | */
|
---|
684 | public function setMediaGroup($value)
|
---|
685 | {
|
---|
686 | $this->_mediaGroup = $value;
|
---|
687 | return $this;
|
---|
688 | }
|
---|
689 |
|
---|
690 | }
|
---|