| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Class for some IPTC functions. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| File Size: | 602 lines (19 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
IPTC:: (5 methods):
parse()
timeHelper()
convIPTC()
convIPTCHelper()
getCharset()
| parse( $rawData ) X-Ref |
| This takes the results of iptcparse() and puts it into a form that can be handled by mediawiki. Generally called from BitmapMetadataHandler::doApp13. param: string $rawData The app13 block from jpeg containing iptc/iim data return: array IPTC metadata array |
| timeHelper( $date, $time, $c ) X-Ref |
| Convert an iptc date and time tags into the exif format param: array $date The date tag param: array $time The time tag param: string $c The charset return: string Date in EXIF format. |
| convIPTC( $data, $charset ) X-Ref |
| Helper function to convert charset for iptc values. param: string|array $data The iptc string param: string $charset The charset return: string|array |
| convIPTCHelper( $data, $charset ) X-Ref |
| Helper function of a helper function to convert charset for iptc values. param: string|array $data The IPTC string param: string $charset The charset return: string |
| getCharset( $tag ) X-Ref |
| take the value of 1:90 tag and returns a charset param: string $tag 1:90 tag. return: string Charset name or "?" |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |