Class for a user comment.
This class is used to hold user comments, which can come in several different character encodings. The Exif standard specifies a certain format of the user comment tag, and this class will make sure that the format is kept.
The most basic use of this class simply stores an ASCII encoded string for later retrieval using getValue:
The string can be encoded with a different encoding, and if so, the encoding must be given using the second argument. The Exif standard specifies three known encodings: 'ASCII', 'JIS', and 'Unicode'. If the user comment is encoded using a character encoding different from the tree known encodings, then the empty string should be passed as encoding, thereby specifying that the encoding is undefined.
Located in /src/PelEntryUndefined.php (line 203)
PelEntry | --PelEntryUndefined | --PelEntryUserComment
Inherited from PelEntry
PelEntry::$bytes
PelEntry::$components
PelEntry::$format
PelEntry::$ifd_type
PelEntry::$tag
Make a new entry for holding a user comment.
Returns the user comment.
Returns the user comment.
The comment is returned with the same character encoding as when it was set using setValue or the constructor.
Set the user comment.
Inherited From PelEntryUndefined
PelEntryUndefined::__construct()
PelEntryUndefined::getText()
PelEntryUndefined::getValue()
PelEntryUndefined::setValue()
Inherited From PelEntry
PelEntry::getBytes()
PelEntry::getComponents()
PelEntry::getFormat()
PelEntry::getIfdType()
PelEntry::getTag()
PelEntry::getText()
PelEntry::getValue()
PelEntry::setIfdType()
PelEntry::setValue()
PelEntry::__toString()
Documentation generated on Thu, 05 May 2011 07:19:10 +0200 by phpDocumentor 1.4.3