summaryrefslogtreecommitdiff
path: root/zend/library/Zend/Gdata/Exif
diff options
context:
space:
mode:
Diffstat (limited to 'zend/library/Zend/Gdata/Exif')
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Entry.php145
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Extension/Distance.php61
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Extension/Exposure.php61
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Extension/FStop.php61
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Extension/Flash.php61
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Extension/FocalLength.php61
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Extension/ImageUniqueId.php61
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Extension/Iso.php61
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Extension/Make.php61
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Extension/Model.php61
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Extension/Tags.php549
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Extension/Time.php61
-rwxr-xr-xzend/library/Zend/Gdata/Exif/Feed.php70
13 files changed, 1374 insertions, 0 deletions
diff --git a/zend/library/Zend/Gdata/Exif/Entry.php b/zend/library/Zend/Gdata/Exif/Entry.php
new file mode 100755
index 0000000..fd8ebb4
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Entry.php
@@ -0,0 +1,145 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_Entry
+ */
+require_once 'Zend/Gdata/Entry.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * @see Zend_Gdata_Exif_Extension_Tags
+ */
+require_once 'Zend/Gdata/Exif/Extension/Tags.php';
+
+/**
+ * An Atom entry containing EXIF metadata.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Entry extends Zend_Gdata_Entry
+{
+ /**
+ * The classname for individual feed elements.
+ *
+ * @var string
+ */
+ protected $_entryClassName = 'Zend_Gdata_Exif_Entry';
+
+ /**
+ * The tags that belong to the Exif group.
+ *
+ * @var string
+ */
+ protected $_tags = null;
+
+ /**
+ * Create a new instance.
+ *
+ * @param DOMElement $element (optional) DOMElement from which this
+ * object should be constructed.
+ */
+ public function __construct($element = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct($element);
+ }
+
+ /**
+ * 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 sending to the server upon updates, or
+ * for application storage/persistence.
+ *
+ * @param DOMDocument $doc The DOMDocument used to construct DOMElements
+ * @return DOMElement The DOMElement representing this element and all
+ * child properties.
+ */
+ public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
+ {
+ $element = parent::getDOM($doc, $majorVersion, $minorVersion);
+ if ($this->_tags != null) {
+ $element->appendChild($this->_tags->getDOM($element->ownerDocument));
+ }
+ return $element;
+ }
+
+ /**
+ * Creates individual Entry objects of the appropriate type and
+ * stores them as members of this entry based upon DOM data.
+ *
+ * @param DOMNode $child The DOMNode to process
+ */
+ protected function takeChildFromDOM($child)
+ {
+ $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
+ switch ($absoluteNodeName) {
+ case $this->lookupNamespace('exif') . ':' . 'tags':
+ $tags = new Zend_Gdata_Exif_Extension_Tags();
+ $tags->transferFromDOM($child);
+ $this->_tags = $tags;
+ break;
+ default:
+ parent::takeChildFromDOM($child);
+ break;
+ }
+ }
+
+ /**
+ * Retrieve the tags for this entry.
+ *
+ * @see setTags
+ * @return Zend_Gdata_Exif_Extension_Tags The requested object
+ * or null if not set.
+ */
+ public function getTags()
+ {
+ return $this->_tags;
+ }
+
+ /**
+ * Set the tags property for this entry. This property contains
+ * various Exif data.
+ *
+ * This corresponds to the <exif:tags> property in the Google Data
+ * protocol.
+ *
+ * @param Zend_Gdata_Exif_Extension_Tags $value The desired value
+ * this element, or null to unset.
+ * @return Zend_Gdata_Exif_Entry Provides a fluent interface
+ */
+ public function setTags($value)
+ {
+ $this->_tags = $value;
+ return $this;
+ }
+
+}
diff --git a/zend/library/Zend/Gdata/Exif/Extension/Distance.php b/zend/library/Zend/Gdata/Exif/Extension/Distance.php
new file mode 100755
index 0000000..5f20753
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Extension/Distance.php
@@ -0,0 +1,61 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Distance.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_Extension
+ */
+require_once 'Zend/Gdata/Extension.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * Represents the exif:distance element used by the Gdata Exif extensions.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Extension_Distance extends Zend_Gdata_Extension
+{
+
+ protected $_rootNamespace = 'exif';
+ protected $_rootElement = 'distance';
+
+ /**
+ * Constructs a new Zend_Gdata_Exif_Extension_Distance object.
+ *
+ * @param string $text (optional) The value to use for this element.
+ */
+ public function __construct($text = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct();
+ $this->setText($text);
+ }
+
+}
diff --git a/zend/library/Zend/Gdata/Exif/Extension/Exposure.php b/zend/library/Zend/Gdata/Exif/Extension/Exposure.php
new file mode 100755
index 0000000..f025985
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Extension/Exposure.php
@@ -0,0 +1,61 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Exposure.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_Extension
+ */
+require_once 'Zend/Gdata/Extension.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * Represents the exif:exposure element used by the Gdata Exif extensions.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Extension_Exposure extends Zend_Gdata_Extension
+{
+
+ protected $_rootNamespace = 'exif';
+ protected $_rootElement = 'exposure';
+
+ /**
+ * Constructs a new Zend_Gdata_Exif_Extension_Exposure object.
+ *
+ * @param string $text (optional) The value to use for this element.
+ */
+ public function __construct($text = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct();
+ $this->setText($text);
+ }
+
+}
diff --git a/zend/library/Zend/Gdata/Exif/Extension/FStop.php b/zend/library/Zend/Gdata/Exif/Extension/FStop.php
new file mode 100755
index 0000000..3fcabbd
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Extension/FStop.php
@@ -0,0 +1,61 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: FStop.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_Extension
+ */
+require_once 'Zend/Gdata/Extension.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * Represents the exif:fStop element used by the Gdata Exif extensions.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Extension_FStop extends Zend_Gdata_Extension
+{
+
+ protected $_rootNamespace = 'exif';
+ protected $_rootElement = 'fstop';
+
+ /**
+ * Constructs a new Zend_Gdata_Exif_Extension_FStop object.
+ *
+ * @param string $text (optional) The value to use for this element.
+ */
+ public function __construct($text = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct();
+ $this->setText($text);
+ }
+
+}
diff --git a/zend/library/Zend/Gdata/Exif/Extension/Flash.php b/zend/library/Zend/Gdata/Exif/Extension/Flash.php
new file mode 100755
index 0000000..c8485c3
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Extension/Flash.php
@@ -0,0 +1,61 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Flash.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_Extension
+ */
+require_once 'Zend/Gdata/Extension.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * Represents the exif:flash element used by the Gdata Exif extensions.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Extension_Flash extends Zend_Gdata_Extension
+{
+
+ protected $_rootNamespace = 'exif';
+ protected $_rootElement = 'flash';
+
+ /**
+ * Constructs a new Zend_Gdata_Exif_Extension_Flash object.
+ *
+ * @param string $text (optional) The value to use for this element.
+ */
+ public function __construct($text = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct();
+ $this->setText($text);
+ }
+
+}
diff --git a/zend/library/Zend/Gdata/Exif/Extension/FocalLength.php b/zend/library/Zend/Gdata/Exif/Extension/FocalLength.php
new file mode 100755
index 0000000..caf95a5
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Extension/FocalLength.php
@@ -0,0 +1,61 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: FocalLength.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_Extension
+ */
+require_once 'Zend/Gdata/Extension.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * Represents the exif:focalLength element used by the Gdata Exif extensions.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Extension_FocalLength extends Zend_Gdata_Extension
+{
+
+ protected $_rootNamespace = 'exif';
+ protected $_rootElement = 'focallength';
+
+ /**
+ * Constructs a new Zend_Gdata_Exif_Extension_FocalLength object.
+ *
+ * @param string $text (optional) The value to use for this element.
+ */
+ public function __construct($text = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct();
+ $this->setText($text);
+ }
+
+}
diff --git a/zend/library/Zend/Gdata/Exif/Extension/ImageUniqueId.php b/zend/library/Zend/Gdata/Exif/Extension/ImageUniqueId.php
new file mode 100755
index 0000000..0d0a24e
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Extension/ImageUniqueId.php
@@ -0,0 +1,61 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: ImageUniqueId.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_Extension
+ */
+require_once 'Zend/Gdata/Extension.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * Represents the exif:imageUniqueId element used by the Gdata Exif extensions.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Extension_ImageUniqueId extends Zend_Gdata_Extension
+{
+
+ protected $_rootNamespace = 'exif';
+ protected $_rootElement = 'imageUniqueID';
+
+ /**
+ * Constructs a new Zend_Gdata_Exif_Extension_ImageUniqueId object.
+ *
+ * @param string $text (optional) The value to use for this element.
+ */
+ public function __construct($text = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct();
+ $this->setText($text);
+ }
+
+}
diff --git a/zend/library/Zend/Gdata/Exif/Extension/Iso.php b/zend/library/Zend/Gdata/Exif/Extension/Iso.php
new file mode 100755
index 0000000..5fecca3
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Extension/Iso.php
@@ -0,0 +1,61 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Iso.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_Extension
+ */
+require_once 'Zend/Gdata/Extension.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * Represents the exif:iso element used by the Gdata Exif extensions.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Extension_Iso extends Zend_Gdata_Extension
+{
+
+ protected $_rootNamespace = 'exif';
+ protected $_rootElement = 'iso';
+
+ /**
+ * Constructs a new Zend_Gdata_Exif_Extension_Iso object.
+ *
+ * @param string $text (optional) The value to use for this element.
+ */
+ public function __construct($text = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct();
+ $this->setText($text);
+ }
+
+}
diff --git a/zend/library/Zend/Gdata/Exif/Extension/Make.php b/zend/library/Zend/Gdata/Exif/Extension/Make.php
new file mode 100755
index 0000000..b8a332b
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Extension/Make.php
@@ -0,0 +1,61 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Make.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_Extension
+ */
+require_once 'Zend/Gdata/Extension.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * Represents the exif:make element used by the Gdata Exif extensions.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Extension_Make extends Zend_Gdata_Extension
+{
+
+ protected $_rootNamespace = 'exif';
+ protected $_rootElement = 'make';
+
+ /**
+ * Constructs a new Zend_Gdata_Exif_Extension_Make object.
+ *
+ * @param string $text (optional) The value to use for this element.
+ */
+ public function __construct($text = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct();
+ $this->setText($text);
+ }
+
+}
diff --git a/zend/library/Zend/Gdata/Exif/Extension/Model.php b/zend/library/Zend/Gdata/Exif/Extension/Model.php
new file mode 100755
index 0000000..f801ea5
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Extension/Model.php
@@ -0,0 +1,61 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Model.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_Extension
+ */
+require_once 'Zend/Gdata/Extension.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * Represents the exif:model element used by the Gdata Exif extensions.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Extension_Model extends Zend_Gdata_Extension
+{
+
+ protected $_rootNamespace = 'exif';
+ protected $_rootElement = 'model';
+
+ /**
+ * Constructs a new Zend_Gdata_Exif_Extension_Model object.
+ *
+ * @param string $text (optional) The value to use for this element.
+ */
+ public function __construct($text = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct();
+ $this->setText($text);
+ }
+
+}
diff --git a/zend/library/Zend/Gdata/Exif/Extension/Tags.php b/zend/library/Zend/Gdata/Exif/Extension/Tags.php
new file mode 100755
index 0000000..2547d42
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Extension/Tags.php
@@ -0,0 +1,549 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Tags.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_Extension
+ */
+require_once 'Zend/Gdata/Extension.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * @see Zend_Gdata_Exif_Extension_Distance
+ */
+require_once 'Zend/Gdata/Exif/Extension/Distance.php';
+
+/**
+ * @see Zend_Gdata_Exif_Extension_Exposure
+ */
+require_once 'Zend/Gdata/Exif/Extension/Exposure.php';
+
+/**
+ * @see Zend_Gdata_Exif_Extension_Flash
+ */
+require_once 'Zend/Gdata/Exif/Extension/Flash.php';
+
+/**
+ * @see Zend_Gdata_Exif_Extension_FocalLength
+ */
+require_once 'Zend/Gdata/Exif/Extension/FocalLength.php';
+
+/**
+ * @see Zend_Gdata_Exif_Extension_FStop
+ */
+require_once 'Zend/Gdata/Exif/Extension/FStop.php';
+
+/**
+ * @see Zend_Gdata_Exif_Extension_ImageUniqueId
+ */
+require_once 'Zend/Gdata/Exif/Extension/ImageUniqueId.php';
+
+/**
+ * @see Zend_Gdata_Exif_Extension_Iso
+ */
+require_once 'Zend/Gdata/Exif/Extension/Iso.php';
+
+/**
+ * @see Zend_Gdata_Exif_Extension_Make
+ */
+require_once 'Zend/Gdata/Exif/Extension/Make.php';
+
+/**
+ * @see Zend_Gdata_Exif_Extension_Model
+ */
+require_once 'Zend/Gdata/Exif/Extension/Model.php';
+
+/**
+ * @see Zend_Gdata_Exif_Extension_Time
+ */
+require_once 'Zend/Gdata/Exif/Extension/Time.php';
+
+/**
+ * Represents the exif:tags element used by the Gdata Exif extensions.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Extension_Tags extends Zend_Gdata_Extension
+{
+
+ protected $_rootNamespace = 'exif';
+ protected $_rootElement = 'tags';
+
+ /**
+ * exif:distance value
+ *
+ * @var Zend_Gdata_Exif_Extension_Distance
+ */
+ protected $_distance = null;
+
+ /**
+ * exif:exposure value
+ *
+ * @var Zend_Gdata_Exif_Extension_Exposure
+ */
+ protected $_exposure = null;
+
+ /**
+ * exif:flash value
+ *
+ * @var Zend_Gdata_Exif_Extension_Flash
+ */
+ protected $_flash = null;
+
+ /**
+ * exif:focalLength value
+ *
+ * @var Zend_Gdata_Exif_Extension_FocalLength
+ */
+ protected $_focalLength = null;
+
+ /**
+ * exif:fStop value
+ *
+ * @var Zend_Gdata_Exif_Extension_FStop
+ */
+ protected $_fStop = null;
+
+ /**
+ * exif:imageUniqueID value
+ *
+ * @var Zend_Gdata_Exif_Extension_ImageUniqueId
+ */
+ protected $_imageUniqueId = null;
+
+ /**
+ * exif:iso value
+ *
+ * @var Zend_Gdata_Exif_Extension_Iso
+ */
+ protected $_iso = null;
+
+ /**
+ * exif:make value
+ *
+ * @var Zend_Gdata_Exif_Extension_Make
+ */
+ protected $_make = null;
+
+ /**
+ * exif:model value
+ *
+ * @var Zend_Gdata_Exif_Extension_Model
+ */
+ protected $_model = null;
+
+ /**
+ * exif:time value
+ *
+ * @var Zend_Gdata_Exif_Extension_Time
+ */
+ protected $_time = null;
+
+ /**
+ * Constructs a new Zend_Gdata_Exif_Extension_Tags object.
+ *
+ * @param Zend_Gdata_Exif_Extension_Distance $distance (optional) The exif:distance
+ * value to be set in the constructed object.
+ * @param Zend_Gdata_Exif_Extension_Exposure $exposure (optional) The exif:exposure
+ * value to be set in the constructed object.
+ * @param Zend_Gdata_Exif_Extension_Flash $flash (optional) The exif:flash
+ * value to be set in the constructed object.
+ * @param Zend_Gdata_Exif_Extension_FocalLength$focalLength (optional) The exif:focallength
+ * value to be set in the constructed object.
+ * @param Zend_Gdata_Exif_Extension_FStop $fStop (optional) The exif:fstop
+ * value to be set in the constructed object.
+ * @param Zend_Gdata_Exif_Extension_ImageUniqueId $imageUniqueId (optional) The exif:imageUniqueID
+ * value to be set in the constructed object.
+ * @param Zend_Gdata_Exif_Extension_Iso $iso (optional) The exif:iso
+ * value to be set in the constructed object.
+ * @param Zend_Gdata_Exif_Extension_Make $make (optional) The exif:make
+ * value to be set in the constructed object.
+ * @param Zend_Gdata_Exif_Extension_Model $model (optional) The exif:model
+ * value to be set in the constructed object.
+ * @param Zend_Gdata_Exif_Extension_Time $time (optional) The exif:time
+ * value to be set in the constructed object.
+ */
+ public function __construct($distance = null, $exposure = null,
+ $flash = null, $focalLength = null, $fStop = null,
+ $imageUniqueId = null, $iso = null, $make = null,
+ $model = null, $time = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct();
+ $this->setDistance($distance);
+ $this->setExposure($exposure);
+ $this->setFlash($flash);
+ $this->setFocalLength($focalLength);
+ $this->setFStop($fStop);
+ $this->setImageUniqueId($imageUniqueId);
+ $this->setIso($iso);
+ $this->setMake($make);
+ $this->setModel($model);
+ $this->setTime($time);
+ }
+
+ /**
+ * 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.
+ *
+ * @param DOMDocument $doc The DOMDocument used to construct DOMElements
+ * @return DOMElement The DOMElement representing this element and all
+ * child properties.
+ */
+ public function getDOM($doc = null, $majorVersion = 1, $minorVersion = null)
+ {
+ $element = parent::getDOM($doc, $majorVersion, $minorVersion);
+ if ($this->_distance !== null) {
+ $element->appendChild($this->_distance->getDOM($element->ownerDocument));
+ }
+ if ($this->_exposure !== null) {
+ $element->appendChild($this->_exposure->getDOM($element->ownerDocument));
+ }
+ if ($this->_flash !== null) {
+ $element->appendChild($this->_flash->getDOM($element->ownerDocument));
+ }
+ if ($this->_focalLength !== null) {
+ $element->appendChild($this->_focalLength->getDOM($element->ownerDocument));
+ }
+ if ($this->_fStop !== null) {
+ $element->appendChild($this->_fStop->getDOM($element->ownerDocument));
+ }
+ if ($this->_imageUniqueId !== null) {
+ $element->appendChild($this->_imageUniqueId->getDOM($element->ownerDocument));
+ }
+ if ($this->_iso !== null) {
+ $element->appendChild($this->_iso->getDOM($element->ownerDocument));
+ }
+ if ($this->_make !== null) {
+ $element->appendChild($this->_make->getDOM($element->ownerDocument));
+ }
+ if ($this->_model !== null) {
+ $element->appendChild($this->_model->getDOM($element->ownerDocument));
+ }
+ if ($this->_time !== null) {
+ $element->appendChild($this->_time->getDOM($element->ownerDocument));
+ }
+ return $element;
+ }
+
+ /**
+ * Creates individual Entry objects of the appropriate type and
+ * stores them as members of this entry based upon DOM data.
+ *
+ * @param DOMNode $child The DOMNode to process
+ */
+ protected function takeChildFromDOM($child)
+ {
+ $absoluteNodeName = $child->namespaceURI . ':' . $child->localName;
+ switch ($absoluteNodeName) {
+ case $this->lookupNamespace('exif') . ':' . 'distance';
+ $distance = new Zend_Gdata_Exif_Extension_Distance();
+ $distance->transferFromDOM($child);
+ $this->_distance = $distance;
+ break;
+ case $this->lookupNamespace('exif') . ':' . 'exposure';
+ $exposure = new Zend_Gdata_Exif_Extension_Exposure();
+ $exposure->transferFromDOM($child);
+ $this->_exposure = $exposure;
+ break;
+ case $this->lookupNamespace('exif') . ':' . 'flash';
+ $flash = new Zend_Gdata_Exif_Extension_Flash();
+ $flash->transferFromDOM($child);
+ $this->_flash = $flash;
+ break;
+ case $this->lookupNamespace('exif') . ':' . 'focallength';
+ $focalLength = new Zend_Gdata_Exif_Extension_FocalLength();
+ $focalLength->transferFromDOM($child);
+ $this->_focalLength = $focalLength;
+ break;
+ case $this->lookupNamespace('exif') . ':' . 'fstop';
+ $fStop = new Zend_Gdata_Exif_Extension_FStop();
+ $fStop->transferFromDOM($child);
+ $this->_fStop = $fStop;
+ break;
+ case $this->lookupNamespace('exif') . ':' . 'imageUniqueID';
+ $imageUniqueId = new Zend_Gdata_Exif_Extension_ImageUniqueId();
+ $imageUniqueId->transferFromDOM($child);
+ $this->_imageUniqueId = $imageUniqueId;
+ break;
+ case $this->lookupNamespace('exif') . ':' . 'iso';
+ $iso = new Zend_Gdata_Exif_Extension_Iso();
+ $iso->transferFromDOM($child);
+ $this->_iso = $iso;
+ break;
+ case $this->lookupNamespace('exif') . ':' . 'make';
+ $make = new Zend_Gdata_Exif_Extension_Make();
+ $make->transferFromDOM($child);
+ $this->_make = $make;
+ break;
+ case $this->lookupNamespace('exif') . ':' . 'model';
+ $model = new Zend_Gdata_Exif_Extension_Model();
+ $model->transferFromDOM($child);
+ $this->_model = $model;
+ break;
+ case $this->lookupNamespace('exif') . ':' . 'time';
+ $time = new Zend_Gdata_Exif_Extension_Time();
+ $time->transferFromDOM($child);
+ $this->_time = $time;
+ break;
+ }
+ }
+
+ /**
+ * Get the value for this element's distance attribute.
+ *
+ * @see setDistance
+ * @return Zend_Gdata_Exif_Extension_Distance The requested attribute.
+ */
+ public function getDistance()
+ {
+ return $this->_distance;
+ }
+
+ /**
+ * Set the value for this element's distance attribute.
+ *
+ * @param Zend_Gdata_Exif_Extension_Distance $value The desired value for this attribute.
+ * @return Zend_Gdata_Exif_Extension_Tags Provides a fluent interface
+ */
+ public function setDistance($value)
+ {
+ $this->_distance = $value;
+ return $this;
+ }
+
+ /**
+ * Get the value for this element's exposure attribute.
+ *
+ * @see setExposure
+ * @return Zend_Gdata_Exif_Extension_Exposure The requested attribute.
+ */
+ public function getExposure()
+ {
+ return $this->_exposure;
+ }
+
+ /**
+ * Set the value for this element's exposure attribute.
+ *
+ * @param Zend_Gdata_Exif_Extension_Exposure $value The desired value for this attribute.
+ * @return Zend_Gdata_Exif_Extension_Tags Provides a fluent interface
+ */
+ public function setExposure($value)
+ {
+ $this->_exposure = $value;
+ return $this;
+ }
+
+ /**
+ * Get the value for this element's flash attribute.
+ *
+ * @see setFlash
+ * @return Zend_Gdata_Exif_Extension_Flash The requested attribute.
+ */
+ public function getFlash()
+ {
+ return $this->_flash;
+ }
+
+ /**
+ * Set the value for this element's flash attribute.
+ *
+ * @param Zend_Gdata_Exif_Extension_Flash $value The desired value for this attribute.
+ * @return Zend_Gdata_Exif_Extension_Tags Provides a fluent interface
+ */
+ public function setFlash($value)
+ {
+ $this->_flash = $value;
+ return $this;
+ }
+
+ /**
+ * Get the value for this element's name attribute.
+ *
+ * @see setFocalLength
+ * @return Zend_Gdata_Exif_Extension_FocalLength The requested attribute.
+ */
+ public function getFocalLength()
+ {
+ return $this->_focalLength;
+ }
+
+ /**
+ * Set the value for this element's focalLength attribute.
+ *
+ * @param Zend_Gdata_Exif_Extension_FocalLength $value The desired value for this attribute.
+ * @return Zend_Gdata_Exif_Extension_Tags Provides a fluent interface
+ */
+ public function setFocalLength($value)
+ {
+ $this->_focalLength = $value;
+ return $this;
+ }
+
+ /**
+ * Get the value for this element's fStop attribute.
+ *
+ * @see setFStop
+ * @return Zend_Gdata_Exif_Extension_FStop The requested attribute.
+ */
+ public function getFStop()
+ {
+ return $this->_fStop;
+ }
+
+ /**
+ * Set the value for this element's fStop attribute.
+ *
+ * @param Zend_Gdata_Exif_Extension_FStop $value The desired value for this attribute.
+ * @return Zend_Gdata_Exif_Extension_Tags Provides a fluent interface
+ */
+ public function setFStop($value)
+ {
+ $this->_fStop = $value;
+ return $this;
+ }
+
+ /**
+ * Get the value for this element's imageUniqueId attribute.
+ *
+ * @see setImageUniqueId
+ * @return Zend_Gdata_Exif_Extension_ImageUniqueId The requested attribute.
+ */
+ public function getImageUniqueId()
+ {
+ return $this->_imageUniqueId;
+ }
+
+ /**
+ * Set the value for this element's imageUniqueId attribute.
+ *
+ * @param Zend_Gdata_Exif_Extension_ImageUniqueId $value The desired value for this attribute.
+ * @return Zend_Gdata_Exif_Extension_Tags Provides a fluent interface
+ */
+ public function setImageUniqueId($value)
+ {
+ $this->_imageUniqueId = $value;
+ return $this;
+ }
+
+ /**
+ * Get the value for this element's iso attribute.
+ *
+ * @see setIso
+ * @return Zend_Gdata_Exif_Extension_Iso The requested attribute.
+ */
+ public function getIso()
+ {
+ return $this->_iso;
+ }
+
+ /**
+ * Set the value for this element's iso attribute.
+ *
+ * @param Zend_Gdata_Exif_Extension_Iso $value The desired value for this attribute.
+ * @return Zend_Gdata_Exif_Extension_Tags Provides a fluent interface
+ */
+ public function setIso($value)
+ {
+ $this->_iso = $value;
+ return $this;
+ }
+ /**
+ * Get the value for this element's make attribute.
+ *
+ * @see setMake
+ * @return Zend_Gdata_Exif_Extension_Make The requested attribute.
+ */
+ public function getMake()
+ {
+ return $this->_make;
+ }
+
+ /**
+ * Set the value for this element's make attribute.
+ *
+ * @param Zend_Gdata_Exif_Extension_Make $value The desired value for this attribute.
+ * @return Zend_Gdata_Exif_Extension_Tags Provides a fluent interface
+ */
+ public function setMake($value)
+ {
+ $this->_make = $value;
+ return $this;
+ }
+
+ /**
+ * Get the value for this element's model attribute.
+ *
+ * @see setModel
+ * @return Zend_Gdata_Exif_Extension_Model The requested attribute.
+ */
+ public function getModel()
+ {
+ return $this->_model;
+ }
+
+ /**
+ * Set the value for this element's model attribute.
+ *
+ * @param Zend_Gdata_Exif_Extension_Model $value The desired value for this attribute.
+ * @return Zend_Gdata_Exif_Extension_Tags Provides a fluent interface
+ */
+ public function setModel($value)
+ {
+ $this->_model = $value;
+ return $this;
+ }
+
+ /**
+ * Get the value for this element's time attribute.
+ *
+ * @see setTime
+ * @return Zend_Gdata_Exif_Extension_Time The requested attribute.
+ */
+ public function getTime()
+ {
+ return $this->_time;
+ }
+
+ /**
+ * Set the value for this element's time attribute.
+ *
+ * @param Zend_Gdata_Exif_Extension_Time $value The desired value for this attribute.
+ * @return Zend_Gdata_Exif_Extension_Tags Provides a fluent interface
+ */
+ public function setTime($value)
+ {
+ $this->_time = $value;
+ return $this;
+ }
+
+}
diff --git a/zend/library/Zend/Gdata/Exif/Extension/Time.php b/zend/library/Zend/Gdata/Exif/Extension/Time.php
new file mode 100755
index 0000000..a82d715
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Extension/Time.php
@@ -0,0 +1,61 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Time.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_Extension
+ */
+require_once 'Zend/Gdata/Extension.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * Represents the exif:time element used by the Gdata Exif extensions.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Extension_Time extends Zend_Gdata_Extension
+{
+
+ protected $_rootNamespace = 'exif';
+ protected $_rootElement = 'time';
+
+ /**
+ * Constructs a new Zend_Gdata_Exif_Extension_Time object.
+ *
+ * @param string $text (optional) The value to use for this element.
+ */
+ public function __construct($text = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct();
+ $this->setText($text);
+ }
+
+}
diff --git a/zend/library/Zend/Gdata/Exif/Feed.php b/zend/library/Zend/Gdata/Exif/Feed.php
new file mode 100755
index 0000000..e4ad20b
--- /dev/null
+++ b/zend/library/Zend/Gdata/Exif/Feed.php
@@ -0,0 +1,70 @@
+<?php
+
+/**
+ * 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
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ * @version $Id: Feed.php 24593 2012-01-05 20:35:02Z matthew $
+ */
+
+/**
+ * @see Zend_Gdata_eed
+ */
+require_once 'Zend/Gdata/Feed.php';
+
+/**
+ * @see Zend_Gdata_Exif
+ */
+require_once 'Zend/Gdata/Exif.php';
+
+/**
+ * @see Zend_Gdata_Exif_Entry
+ */
+require_once 'Zend/Gdata/Exif/Entry.php';
+
+/**
+ * Feed for Gdata EXIF data entries.
+ *
+ * @category Zend
+ * @package Zend_Gdata
+ * @subpackage Exif
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license http://framework.zend.com/license/new-bsd New BSD License
+ */
+class Zend_Gdata_Exif_Feed extends Zend_Gdata_Feed
+{
+
+ /**
+ * The classname for individual feed elements.
+ *
+ * @var string
+ */
+ protected $_entryClassName = 'Zend_Gdata_Exif_Entry';
+
+ /**
+ * Create a new instance.
+ *
+ * @param DOMElement $element (optional) DOMElement from which this
+ * object should be constructed.
+ */
+ public function __construct($element = null)
+ {
+ $this->registerAllNamespaces(Zend_Gdata_Exif::$namespaces);
+ parent::__construct($element);
+ }
+
+}