MediaWiki REL1_34
|
Class for some IPTC functions. More...
Static Public Member Functions | |
static | getCharset ( $tag) |
take the value of 1:90 tag and returns a charset | |
static | parse ( $rawData) |
This takes the results of iptcparse() and puts it into a form that can be handled by mediawiki. | |
Static Private Member Functions | |
static | convIPTC ( $data, $charset) |
Helper function to convert charset for iptc values. | |
static | convIPTCHelper ( $data, $charset) |
Helper function of a helper function to convert charset for iptc values. | |
static | timeHelper ( $date, $time, $charset) |
Convert an iptc date and time tags into the exif format. | |
|
staticprivate |
Helper function to convert charset for iptc values.
string | array | $data | The iptc string |
string | $charset |
Definition at line 411 of file IPTC.php.
References convIPTCHelper().
Referenced by parse(), and timeHelper().
|
staticprivate |
Helper function of a helper function to convert charset for iptc values.
string | array | $data | The IPTC string |
string | $charset |
Definition at line 430 of file IPTC.php.
References convIPTCHelper(), and wfDebugLog().
Referenced by convIPTC(), and convIPTCHelper().
|
static |
take the value of 1:90 tag and returns a charset
string | $tag | 1:90 tag. |
Definition at line 462 of file IPTC.php.
References wfDebugLog().
Referenced by parse().
|
static |
This takes the results of iptcparse() and puts it into a form that can be handled by mediawiki.
Generally called from BitmapMetadataHandler::doApp13.
string | $rawData | The app13 block from jpeg containing iptc/iim data |
Definition at line 40 of file IPTC.php.
References convIPTC(), getCharset(), timeHelper(), and wfDebugLog().
Referenced by BitmapMetadataHandler\doApp13().
|
staticprivate |
Convert an iptc date and time tags into the exif format.
array | $date | The date tag |
array | $time | The time tag |
string | $charset |
Definition at line 343 of file IPTC.php.
References convIPTC(), wfDebugLog(), and wfTimestamp().
Referenced by parse().