$src :
$is404 :
$docRoot :
$lastURLError :
$localImage :
$localImageMTime :
$url :
$myHost :
$isURL :
$cachefile :
$errors :
$toDeletes :
$cacheDirectory :
$startTime :
$lastBenchTime :
$cropTop :
$salt :
$fileCacheVersion :
$filePrependSecurityBlock :
$curlDataWritten :
$curlFH :
start()
__construct()
__destruct()
run()
curlWrite( $h, $d)
handleErrors()
tryBrowserCache()
tryServerCache()
error( $err)
haveErrors()
serveErrors()
serveInternalImage()
cleanCache()
processImageAndWriteToCache( $localImage)
calcDocRoot()
getLocalImagePath( $src)
realpath( $path)
toDelete( $name)
serveWebshot()
serveExternalImage()
serveCacheFile()
sendImageHeaders( $mimeType, $dataSize)
securityChecks()
param( $property, $default = '')
openImage( $mimeType, $src)
getIP()
debug( $level, $msg)
sanityFail( $msg)
getMimeType( $file)
setMemoryLimit()
returnBytes( $size_str)
getURL( $url, $tempfile)
serveImg( $file)
set404()
is404()