- Timestamp:
- Mar 3, 2010, 9:55:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMetaData/JpegMetaData/Common/MakerNotesSignatures.class.php
r4705 r5038 37 37 * This class provides theses public functions : 38 38 * - (static) getMaker 39 * - (static) setExifMaker40 * - (static) getExifMaker41 39 * 42 40 * ----------------------------------------------------------------------------- … … 91 89 const UnknownHeaderSize = 0; 92 90 93 static private $exifMaker = "";94 91 95 92 static public function getMaker($datas) … … 121 118 } 122 119 123 /**124 * this function is used by IFD Reader to store all information about maker125 * and camera model126 *127 * the stored value if used within a grep like "/canon/i" to determine the128 * maker note.129 * For more information about this tricks see the how the tag 0x927c is130 * managed in the function "processSpecialTag" of the file131 * IfdReader.class.php132 *133 * @param String $value : the maker or the camera model134 */135 static public function setExifMaker($value)136 {137 if(is_array($value))138 {139 foreach($value as $val)140 {141 self::$exifMaker.=$val." ";142 }143 }144 else145 {146 self::$exifMaker.=$value." ";147 }148 return(self::$exifMaker);149 }150 151 /**152 * this function is used by IFD Reader to store all information about maker153 * and camera model154 *155 * @return String156 */157 static public function getExifMaker()158 {159 return(self::$exifMaker);160 }161 162 120 } 163 121
Note: See TracChangeset
for help on using the changeset viewer.