Class Image

Description

Image class holds information about graphic file.

  • version: 1.1
  • author: Lev Levin

Located in /Core/Image.php (line 17)


	
			
Method Summary
Image Image (String $path)
int getHeight ()
String getPath ()
int getWidth ()
void setPath (String $path)
Methods
Constructor Image (line 28)

Constructor for the class.

Actually calls setPath method to set up object.

  • access: public
Image Image (String $path)
  • String $path: Full path of the image file
getHeight (line 55)

Returns height of the image.

  • return: Number representing height of the image
  • access: public
int getHeight ()
getPath (line 47)

Return path to the image file.

  • return: Path to the file
  • access: public
String getPath ()
getWidth (line 63)

Returns width of the image.

  • return: Number representing width of the image
  • access: public
int getWidth ()
setPath (line 38)

Sets up path to the image file.

After setting path parsing of the file is performed to fill in image properties.

  • access: public
void setPath (String $path)
  • String $path: Full path of the image file

Documentation generated on Mon, 11 Dec 2006 22:42:37 +0300 by phpDocumentor 1.3.0