Represents the exif:tags element used by the Gdata Exif extensions.
category | Zend |
---|---|
package | Zend_Gdata |
subpackage | Exif |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Gdata_Extension |
__construct(\Zend_Gdata_Exif_Extension_Distance $distance= null
, \Zend_Gdata_Exif_Extension_Exposure $exposure= null
, \Zend_Gdata_Exif_Extension_Flash $flash= null
, $focalLength= null
, \Zend_Gdata_Exif_Extension_FStop $fStop= null
, \Zend_Gdata_Exif_Extension_ImageUniqueId $imageUniqueId= null
, \Zend_Gdata_Exif_Extension_Iso $iso= null
, \Zend_Gdata_Exif_Extension_Make $make= null
, \Zend_Gdata_Exif_Extension_Model $model= null
, \Zend_Gdata_Exif_Extension_Time $time= null
)
inherited_from | \Zend_Gdata_Extension::__construct() |
---|
\Zend_Gdata_Exif_Extension_Distance
(optional) The exif:distance value to be set in the constructed object.
\Zend_Gdata_Exif_Extension_Exposure
(optional) The exif:exposure value to be set in the constructed object.
\Zend_Gdata_Exif_Extension_Flash
(optional) The exif:flash value to be set in the constructed object.
\Zend_Gdata_Exif_Extension_FStop
(optional) The exif:fstop value to be set in the constructed object.
\Zend_Gdata_Exif_Extension_ImageUniqueId
(optional) The exif:imageUniqueID value to be set in the constructed object.
\Zend_Gdata_Exif_Extension_Iso
(optional) The exif:iso value to be set in the constructed object.
\Zend_Gdata_Exif_Extension_Make
(optional) The exif:make value to be set in the constructed object.
\Zend_Gdata_Exif_Extension_Model
(optional) The exif:model value to be set in the constructed object.
\Zend_Gdata_Exif_Extension_Time
(optional) The exif:time value to be set in the constructed object.
__construct()
__get(string $name)
TODO Remove ability to bypass getFoo() methods??
string
The variable name sought
__isset(string $name)
string
__set(string $name, $val)
Alternatively, if no setFoo() is defined, but a $_foo protected variable is defined, this is returned.
TODO Remove ability to bypass getFoo() methods??
string
__toString() : string
string
The text representation of this object__unset(string $name)
string
encode() : string
Can be overridden by children to provide more complex representations of entries.
string
Encoded string contentflushNamespaceLookupCache()
Empties the namespace lookup cache. Call this function if you have added data to the namespace lookup table that contradicts values that may have been cached during a previous call to lookupNamespace().
getDOM(\DOMDocument $doc= null
, $majorVersion= 1
, $minorVersion= null
) : \DOMElement
\DOMDocument
The DOMDocument used to construct DOMElements
\DOMElement
The DOMElement representing this element and all
child properties.getDOM(\DOMDocument $doc= null
, $majorVersion= 1
, $minorVersion= null
) : \DOMElement
\DOMDocument
The DOMDocument used to construct DOMElements
\DOMElement
The DOMElement representing this element and all
child properties.getDistance() : \Zend_Gdata_Exif_Extension_Distance
getExposure() : \Zend_Gdata_Exif_Extension_Exposure
getExtensionAttributes() : array
array
All extension attributesgetExtensionElements() : array
array
All elements not matched to data model classes during parsinggetFStop() : \Zend_Gdata_Exif_Extension_FStop
getFlash() : \Zend_Gdata_Exif_Extension_Flash
getFocalLength() : \Zend_Gdata_Exif_Extension_FocalLength
getImageUniqueId() : \Zend_Gdata_Exif_Extension_ImageUniqueId
getIso() : \Zend_Gdata_Exif_Extension_Iso
getMake() : \Zend_Gdata_Exif_Extension_Make
getModel() : \Zend_Gdata_Exif_Extension_Model
getText($trim = true
) : string
string
Child text nodegetTime() : \Zend_Gdata_Exif_Extension_Time
getXML() : string
string
XML contentlookupNamespace(string $prefix, integer $majorVersion= 1
, integer $minorVersion= null
) : string
Looks up a prefix (atom:, etc.) in the list of registered namespaces and returns the full namespace URI if available. Returns the prefix, unmodified, if it's not registered.
string
The namespace prefix to lookup.
integer
The major protocol version in effect. Defaults to '1'.
integer
The minor protocol version in effect. Defaults to null (use latest).
string
registerAllNamespaces(array $namespaceArray) : void
Takes an array in the format of: namespace prefix, namespace URI, major protocol version, minor protocol version and adds them with calls to ->registerNamespace()
array
An array of namespaces.
registerNamespace(string $prefix, string $namespaceUri, integer $majorVersion= 1
, integer $minorVersion= 0
) : void
Takes a prefix and a full namespace URI and adds them to the list of registered namespaces for use by $this->lookupNamespace().
WARNING: Currently, registering a namespace will NOT invalidate any memoized data stored in $_namespaceLookupCache. Under normal use, this behavior is acceptable. If you are adding contradictory data to the namespace lookup table, you must call flushNamespaceLookupCache().
string
The namespace prefix
string
The full namespace URI
integer
The major protocol version in effect. Defaults to '1'.
integer
The minor protocol version in effect. Defaults to null (use latest).
saveXML() : string
string
XML contentsetDistance(\Zend_Gdata_Exif_Extension_Distance $value) : \Zend_Gdata_Exif_Extension_Tags
\Zend_Gdata_Exif_Extension_Distance
The desired value for this attribute.
\Zend_Gdata_Exif_Extension_Tags
Provides a fluent interfacesetExposure(\Zend_Gdata_Exif_Extension_Exposure $value) : \Zend_Gdata_Exif_Extension_Tags
\Zend_Gdata_Exif_Extension_Exposure
The desired value for this attribute.
\Zend_Gdata_Exif_Extension_Tags
Provides a fluent interfacesetExtensionAttributes(array $value) : \Zend_Gdata_App_Base
array
All extension attributes
\Zend_Gdata_App_Base
Returns an object of the same type as 'this' to provide a fluent interface.setExtensionElements(array $value) : \Zend_Gdata_App_Base
array
All extension elements
\Zend_Gdata_App_Base
Returns an object of the same type as 'this' to provide a fluent interface.setFStop(\Zend_Gdata_Exif_Extension_FStop $value) : \Zend_Gdata_Exif_Extension_Tags
\Zend_Gdata_Exif_Extension_FStop
The desired value for this attribute.
\Zend_Gdata_Exif_Extension_Tags
Provides a fluent interfacesetFlash(\Zend_Gdata_Exif_Extension_Flash $value) : \Zend_Gdata_Exif_Extension_Tags
\Zend_Gdata_Exif_Extension_Flash
The desired value for this attribute.
\Zend_Gdata_Exif_Extension_Tags
Provides a fluent interfacesetFocalLength(\Zend_Gdata_Exif_Extension_FocalLength $value) : \Zend_Gdata_Exif_Extension_Tags
\Zend_Gdata_Exif_Extension_FocalLength
The desired value for this attribute.
\Zend_Gdata_Exif_Extension_Tags
Provides a fluent interfacesetImageUniqueId(\Zend_Gdata_Exif_Extension_ImageUniqueId $value) : \Zend_Gdata_Exif_Extension_Tags
\Zend_Gdata_Exif_Extension_ImageUniqueId
The desired value for this attribute.
\Zend_Gdata_Exif_Extension_Tags
Provides a fluent interfacesetIso(\Zend_Gdata_Exif_Extension_Iso $value) : \Zend_Gdata_Exif_Extension_Tags
\Zend_Gdata_Exif_Extension_Iso
The desired value for this attribute.
\Zend_Gdata_Exif_Extension_Tags
Provides a fluent interfacesetMake(\Zend_Gdata_Exif_Extension_Make $value) : \Zend_Gdata_Exif_Extension_Tags
\Zend_Gdata_Exif_Extension_Make
The desired value for this attribute.
\Zend_Gdata_Exif_Extension_Tags
Provides a fluent interfacesetModel(\Zend_Gdata_Exif_Extension_Model $value) : \Zend_Gdata_Exif_Extension_Tags
\Zend_Gdata_Exif_Extension_Model
The desired value for this attribute.
\Zend_Gdata_Exif_Extension_Tags
Provides a fluent interfacesetText(string $value) : \Zend_Gdata_App_Base
string
Child text node
\Zend_Gdata_App_Base
Returns an object of the same type as 'this' to provide a fluent interface.setTime(\Zend_Gdata_Exif_Extension_Time $value) : \Zend_Gdata_Exif_Extension_Tags
\Zend_Gdata_Exif_Extension_Time
The desired value for this attribute.
\Zend_Gdata_Exif_Extension_Tags
Provides a fluent interfacetransferFromDOM(\DOMNode $node)
This is called when XML is received over the wire and the data model needs to be built to represent this XML.
\DOMNode
The DOMNode that represents this object's data
transferFromXML(string $xml)
string
The XML text to parse
takeAttributeFromDOM(\DOMNode $attribute)
\DOMNode
The DOMNode attribute needed to be handled
takeChildFromDOM(\DOMNode $child)
\DOMNode
The DOMNode to process
takeChildFromDOM(\DOMNode $child)
\DOMNode
The DOMNode needed to be handled
$_distance : \Zend_Gdata_Exif_Extension_Distance
null
$_exposure : \Zend_Gdata_Exif_Extension_Exposure
null
$_extensionAttributes : array
array()
$_extensionElements : array
array()
$_fStop : \Zend_Gdata_Exif_Extension_FStop
null
$_flash : \Zend_Gdata_Exif_Extension_Flash
null
$_focalLength : \Zend_Gdata_Exif_Extension_FocalLength
null
$_imageUniqueId : \Zend_Gdata_Exif_Extension_ImageUniqueId
null
$_iso : \Zend_Gdata_Exif_Extension_Iso
null
$_make : \Zend_Gdata_Exif_Extension_Make
null
$_model : \Zend_Gdata_Exif_Extension_Model
null
$_namespaceLookupCache : array
array()
$_namespaces : array
array('atom' => array(1 => array(0 => 'http://www.w3.org/2005/Atom')), 'app' => array(1 => array(0 => 'http://purl.org/atom/app#'), 2 => array(0 => 'http://www.w3.org/2007/app')))
$_rootElement
'tags'
$_rootElement : string
null
$_rootNamespace
'exif'
inherited_from | \Zend_Gdata_Extension::_rootNamespace |
---|
$_rootNamespace : string
'atom'
$_rootNamespaceURI : string
null
$_text : string
null
$_time : \Zend_Gdata_Exif_Extension_Time
null