SimpleGallery
[ class tree: SimpleGallery ] [ index: SimpleGallery ] [ all elements ]

Class: SimpleGallery_Image

Source Location: /Image.php

Class Overview


Simple Gallery image


Variables

Constants

Methods



Class Details

[line 22]
Simple Gallery image



[ Top ]


Class Variables

$_thumbnailer =

[line 48]

Thumbnailer object



Tags:

access:  protected



[ Top ]



Class Methods


method resize [line 100]

mixed resize( string $sourcePath, string $destinationPath, $options)

Resize an image



Tags:

return:  Returns true if the image was resized or NULL if resizing was not needed
throws:  SimpleGallery_Exception
access:  public


Parameters:

string   $sourcePath   The file path for the source image
string   $destinationPath   Thefile path for the destination image
array   $options   Options for the method

[ Top ]

method thumbnail [line 59]

boolean thumbnail( string $sourcePath, string $destinationPath, $options)

Create a thumbnail



Tags:

throws:  SimpleGallery_Exception
access:  public


Parameters:

string   $sourcePath   The file path for the source image
string   $destinationPath   Thefile path for the destination image
array   $options   Options for the method

[ Top ]


Class Constants

OPTION_HEIGHT =  'simplegallery_height'

[line 36]

Option key for image height


[ Top ]

OPTION_OUTPUT_FORMAT =  'simplegallery_output_format'

[line 41]

Option key for output format


[ Top ]

OPTION_WIDTH =  'simplegallery_width'

[line 31]

Option key for image width


[ Top ]



Documentation generated on Fri, 18 Feb 2011 19:38:53 +0200 by phpDocumentor 1.4.3