Class PelJpegComment

Description

Class representing JPEG comments.

Located in /PelJpegComment.php (line 49)

PelJpegContent
   |
   --PelJpegComment
Method Summary
 PelJpegComment __construct ([ $comment = ''])
 string getBytes ()
 string getValue ()
 void load (PelDataWindow $d)
 void setValue (string $comment)
 string __toString ()
Methods
Constructor __construct (line 63)

Construct a new JPEG comment.

The new comment will contain the string given.

PelJpegComment __construct ([ $comment = ''])
  • $comment

Redefinition of:
PelJpegContent::__construct()
Make a new piece of JPEG content.
getBytes (line 105)

Turn this comment into bytes.

  • return: bytes representing this comment.
string getBytes ()

Redefinition of:
PelJpegContent::getBytes()
Return the bytes of the content.
getValue (line 95)

Get the comment.

  • return: the comment.
string getValue ()
load (line 73)

Load and parse data.

This will load the comment from the data window passed.

void load (PelDataWindow $d)
setValue (line 85)

Update the value with a new comment.

Any old comment will be overwritten.

void setValue (string $comment)
  • string $comment: the new comment.
__toString (line 115)

Return a string representation of this object.

string __toString ()

Inherited Methods

Inherited From PelJpegContent

 PelJpegContent::__construct()
 PelJpegContent::getBytes()

Documentation generated on Fri, 29 Dec 2006 01:41:53 +0100 by phpDocumentor 1.3.1