OCSP_IMAGELocated in /common/OCSP_IMAGE.phpclass (line 28)
OCSP_FILE | --OCSP_IMAGE
boolean
generateCacheFile
(int $width, int $height, [boolean $enlarge = False], [boolean $debug = False])
string
getCacheFilePath
(int $width, int $height, [boolean $autoCreate = True], [boolean $debug = False])
boolean
getFitSize
( &$width, &$height, [boolean $enlarge = False], [ $debug = False], int $width, int $height)
boolean
output
([int $width = 0], [int $height = 0], [boolean $useCache = True], [boolean $enlarge = False], [boolean $debug = False])
int
$height
(line 53)
int
$minHeight
= 1 (line 67)
minimal width when resizing
int
$minWidth
= 1 (line 60)
minimal width when resizing
resource
$myImgRes
= NULL (line 80)
int
$type
(line 74)
int
$width
(line 47)
Inherited from OCSP_FILE
OCSP_FILE::$fileExists
OCSP_FILE::$imagesize
OCSP_FILE::$myFileName
OCSP_FILE::$myFilePath
removes the cache files
generates a cahce file if the image does not fit otherwithe returns false
NOTE does not free the resource
calculates the width and height the image must have to fit into the $with and $height
returns the mimetype of the image
returns the Fileextension of the image type
echos the image with headers
resize the image and overwrites the original location
returns the resource for output
resizes the resource to width and height
saves the resource
sets the image file to $file
if $file does not exists $OCSP_CONF['PROJECTPATH'].$file and $_SERVER['DOCUMENT_ROOT'] is also checked
sets the minimum height for resize
Inherited From OCSP_FILE
OCSP_FILE::__construct()
OCSP_FILE::checkFileName()
OCSP_FILE::checkFilePath()
OCSP_FILE::delete()
OCSP_FILE::factoryFromUpload()
OCSP_FILE::getFile()
OCSP_FILE::getFilePath()
OCSP_FILE::getImagesize()
OCSP_FILE::getMimeType()
OCSP_FILE::getSize()
OCSP_FILE::isAbsoultePath()
OCSP_FILE::isFile()
OCSP_FILE::isImage()
OCSP_FILE::passthru()
OCSP_FILE::setFile()
OCSP_FILE::setFromUplaod()
CLASS_SRC_FILE
= __FILE__
(line 37)
Inherited from OCSP_FILE
OCSP_FILE::CLASS_SRC_FILE
Documentation generated on Thu, 08 Jan 2009 17:46:53 +0100 by phpDocumentor 1.4.0a2