MediaWiki  REL1_19
XMPInfo Class Reference

This class is just a container for a big array used by XMPReader to determine which XMP items to extract. More...

List of all members.

Static Public Member Functions

static getItems ()
 get the items array

Static Private Attributes

static $items
 XMPInfo::$items keeps a list of all the items we are interested to extract, as well as information about the item like what type it is.
static $ranHooks = false

Detailed Description

This class is just a container for a big array used by XMPReader to determine which XMP items to extract.

Definition at line 7 of file XMPInfo.php.


Member Function Documentation

static XMPInfo::getItems ( ) [static]

get the items array

Returns:
Array XMP item configuration array.

Definition at line 12 of file XMPInfo.php.

References $items, and wfRunHooks().

Referenced by XMPReader\__construct().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

XMPInfo::$items [static, private]

XMPInfo::$items keeps a list of all the items we are interested to extract, as well as information about the item like what type it is.

Format is an array of namespaces, each containing an array of tags each tag is an array of information about the tag, including: * map_group - what group (used for precedence during conflicts) * mode - What type of item (self::MODE_SIMPLE usually, see above for all values) * validate - method to validate input. Could also post-process the input. A string value is assumed to be a static method of XMPValidate. Can also take a array( 'className', 'methodName' ). * choices - array of potential values (format of 'value' => true ). Only used with validateClosed * rangeLow and rangeHigh - alternative to choices for numeric ranges. Again for validateClosed only. * children - for MODE_STRUCT items, allowed children. * structPart - Indicates that this element can only appear as a member of a structure.

currently this just has a bunch of exif values as this class is only half-done

Definition at line 45 of file XMPInfo.php.

Referenced by getItems().

XMPInfo::$ranHooks = false [static, private]

Definition at line 22 of file XMPInfo.php.


The documentation for this class was generated from the following file: