Zikula 1.0.1
[ class tree: Zikula 1.0.1 ] [ index: Zikula 1.0.1 ] [ all elements ]

Class: phpthumb

Source Location: /modules/Thumbnail/includes/phpThumb/phpthumb.class.php

Class Overview




Variables

Methods



Class Details

[line 18]


[ Top ]


Class Variables

$allow_local_http_src =  false

[line 116]


Type:   mixed


[ Top ]

$AlphaCapableFormats = array('png', 'ico', 'gif')

[line 204]


Type:   mixed


[ Top ]

$aoe =  null

[line 48]


Type:   mixed


[ Top ]

$ar =  null

[line 47]


Type:   mixed


[ Top ]

$bc =  null

[line 40]


Type:   mixed


[ Top ]

$bg =  null

[line 41]


Type:   mixed


[ Top ]

$cache_filename =  null

[line 202]


Type:   mixed


[ Top ]

$config_allow_parameter_file =  false

[line 144]


Type:   mixed


[ Top ]

$config_allow_parameter_goto =  false

[line 145]


Type:   mixed


[ Top ]

$config_allow_src_above_docroot =  false

[line 142]


Type:   mixed


[ Top ]

$config_allow_src_above_phpthumb =  true

[line 143]


Type:   mixed


[ Top ]

$config_background_hexcolor =  'FFFFFF'

[line 109]


Type:   mixed


[ Top ]

$config_border_hexcolor =  '000000'

[line 108]


Type:   mixed


[ Top ]

$config_cache_default_only_suffix =  false

[line 127]


Type:   mixed


[ Top ]

$config_cache_directory =  null

[line 69]


Type:   mixed


[ Top ]

$config_cache_directory_depth =  0

[line 70]


Type:   mixed


[ Top ]

$config_cache_disable_warning =  true

[line 71]


Type:   mixed


[ Top ]

$config_cache_force_passthru =  true

[line 128]


Type:   mixed


[ Top ]

$config_cache_maxage =  null

[line 122]


Type:   mixed


[ Top ]

$config_cache_maxfiles =  null

[line 124]


Type:   mixed


[ Top ]

$config_cache_maxsize =  null

[line 123]


Type:   mixed


[ Top ]

$config_cache_prefix =  ''

[line 129]


Type:   mixed


[ Top ]

$config_cache_source_directory =  null

[line 73]


Type:   mixed


[ Top ]

$config_cache_source_enabled =  false

[line 72]


Type:   mixed


[ Top ]

$config_cache_source_filemtime_ignore_local =  false

[line 125]


Type:   mixed


[ Top ]

$config_cache_source_filemtime_ignore_remote =  true

[line 126]


Type:   mixed


[ Top ]

$config_disable_debug =  false

[line 141]


Type:   mixed


[ Top ]

$config_disable_imagecopyresampled =  false

[line 153]


Type:   mixed


[ Top ]

$config_disable_onlycreateable_passthru =  false

[line 154]


Type:   mixed


[ Top ]

$config_disable_pathinfo_parsing =  false

[line 152]


Type:   mixed


[ Top ]

$config_document_root =  null

[line 75]


Type:   mixed


[ Top ]

$config_error_bgcolor =  'CCCCFF'

[line 87]


Type:   mixed


[ Top ]

$config_error_die_on_error =  false

[line 90]


Type:   mixed


[ Top ]

$config_error_die_on_source_failure =  true

[line 92]


Type:   mixed


[ Top ]

$config_error_fontsize =  1

[line 89]


Type:   mixed


[ Top ]

$config_error_image_height =  100

[line 85]


Type:   mixed


[ Top ]

$config_error_image_width =  400

[line 84]


Type:   mixed


[ Top ]

$config_error_message_image_default =  ''

[line 86]


Type:   mixed


[ Top ]

$config_error_silent_die_on_error =  false

[line 91]


Type:   mixed


[ Top ]

$config_error_textcolor =  'FF0000'

[line 88]


Type:   mixed


[ Top ]

$config_high_security_enabled =  false

[line 139]


Type:   mixed


[ Top ]

$config_high_security_password =  null

[line 140]


Type:   mixed


[ Top ]

$config_http_follow_redirect =  true

[line 149]


Type:   mixed


[ Top ]

$config_http_fopen_timeout =  10

[line 148]


Type:   mixed


[ Top ]

$config_http_user_agent =  'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7'

[line 156]


Type:   mixed


[ Top ]

$config_imagemagick_path =  null

[line 118]


Type:   mixed


[ Top ]

$config_imagemagick_use_thumbnail =  true

[line 120]


Type:   mixed


[ Top ]

$config_max_source_pixels =  null

[line 114]


Type:   mixed


[ Top ]

$config_mysql_database =  null

[line 136]


Type:   mixed


[ Top ]

$config_mysql_hostname =  null

[line 133]


Type:   mixed


[ Top ]

$config_mysql_password =  null

[line 135]


Type:   mixed


[ Top ]

$config_mysql_query =  null

[line 132]


Type:   mixed


[ Top ]

$config_mysql_username =  null

[line 134]


Type:   mixed


[ Top ]

$config_nohotlink_enabled =  true

[line 95]


Type:   mixed


[ Top ]

$config_nohotlink_erase_image =  true

[line 97]


Type:   mixed


[ Top ]

$config_nohotlink_text_message =  'Off-server thumbnailing is not allowed'

[line 98]


Type:   mixed


[ Top ]

$config_nohotlink_valid_domains = array()

[line 96]


Type:   mixed


[ Top ]

$config_nooffsitelink_enabled =  false

[line 100]


Type:   mixed


[ Top ]

$config_nooffsitelink_erase_image =  true

[line 103]


Type:   mixed


[ Top ]

$config_nooffsitelink_require_refer =  false

[line 102]


Type:   mixed


[ Top ]

$config_nooffsitelink_text_message =  'Off-server linking is not allowed'

[line 105]


Type:   mixed


[ Top ]

$config_nooffsitelink_valid_domains = array()

[line 101]


Type:   mixed


[ Top ]

$config_nooffsitelink_watermark_src =  ''

[line 104]


Type:   mixed


[ Top ]

$config_output_format =  'jpeg'

[line 78]


Type:   mixed


[ Top ]

$config_output_interlace =  true

[line 81]


Type:   mixed


[ Top ]

$config_output_maxheight =  0

[line 80]


Type:   mixed


[ Top ]

$config_output_maxwidth =  0

[line 79]


Type:   mixed


[ Top ]

$config_prefer_imagemagick =  true

[line 119]


Type:   mixed


[ Top ]

$config_temp_directory =  null

[line 74]


Type:   mixed


[ Top ]

$config_ttf_directory =  './fonts'

[line 112]


Type:   mixed


[ Top ]

$config_use_exif_thumbnail_for_speed =  false

[line 115]


Type:   mixed


[ Top ]

$debugmessages = array()

[line 162]


Type:   mixed


[ Top ]

$debugtiming = array()

[line 163]


Type:   mixed


[ Top ]

$down =  null

[line 52]


Type:   mixed


[ Top ]

$dpi =  150

[line 55]


Type:   mixed


[ Top ]

$err =  null

[line 44]


Type:   mixed


[ Top ]

$exif_raw_data =  null

[line 195]


Type:   mixed


[ Top ]

$exif_thumbnail_data =  null

[line 194]


Type:   mixed


[ Top ]

$exif_thumbnail_height =  null

[line 192]


Type:   mixed


[ Top ]

$exif_thumbnail_type =  null

[line 193]


Type:   mixed


[ Top ]

$exif_thumbnail_width =  null

[line 191]


Type:   mixed


[ Top ]

$f =  null

[line 33]


Type:   mixed


[ Top ]

$far =  null

[line 49]


Type:   mixed


[ Top ]

$fatalerror =  null

[line 164]


Type:   mixed


[ Top ]

$file =  null

[line 58]


Type:   mixed


[ Top ]

$fltr = array()

[line 42]


Type:   mixed


[ Top ]

$gdimg_output =  null

[line 178]


Type:   mixed


[ Top ]

$gdimg_source =  null

[line 179]


Type:   mixed


[ Top ]

$getimagesizeinfo =  null

[line 181]


Type:   mixed


[ Top ]

$goto =  null

[line 43]


Type:   mixed


[ Top ]

$h =  null

[line 26]


Type:   mixed


[ Top ]

$hl =  null

[line 30]


Type:   mixed


[ Top ]

$hp =  null

[line 28]


Type:   mixed


[ Top ]

$hs =  null

[line 32]


Type:   mixed


[ Top ]

$iar =  null

[line 50]


Type:   mixed


[ Top ]

$IMresizedData =  null

[line 173]


Type:   mixed


[ Top ]

$iswindows =  null

[line 207]


Type:   mixed


[ Top ]

$is_alpha =  false

[line 205]


Type:   mixed


[ Top ]

$maxb =  null

[line 51]


Type:   mixed


[ Top ]

$md5s =  null

[line 53]


Type:   mixed


[ Top ]

$new =  null

[line 24]


Type:   mixed


[ Top ]

$outputImageData =  null

[line 174]


Type:   mixed


[ Top ]

$phpThumbDebug =  null

[line 60]


Type:   mixed


[ Top ]

$phpthumb_version =  '1.7.8-200709161750'

[line 209]


Type:   mixed


[ Top ]

$q =  75

[line 34]


Type:   mixed


[ Top ]

$ra =  null

[line 46]


Type:   mixed


[ Top ]

$rawImageData =  null

[line 172]


Type:   mixed


[ Top ]

$sfn =  0

[line 54]


Type:   mixed


[ Top ]

$sh =  null

[line 38]


Type:   mixed


[ Top ]

$sia =  null

[line 56]


Type:   mixed


[ Top ]

$sourceFilename =  null

[line 171]


Type:   mixed


[ Top ]

$source_height =  null

[line 184]


Type:   mixed


[ Top ]

$source_width =  null

[line 183]


Type:   mixed


[ Top ]

$src =  null

[line 23]


Type:   mixed


[ Top ]

$sw =  null

[line 37]


Type:   mixed


[ Top ]

$sx =  null

[line 35]


Type:   mixed


[ Top ]

$sy =  null

[line 36]


Type:   mixed


[ Top ]

$thumbnailCropH =  null

[line 189]


Type:   mixed


[ Top ]

$thumbnailCropW =  null

[line 188]


Type:   mixed


[ Top ]

$thumbnailCropX =  null

[line 186]


Type:   mixed


[ Top ]

$thumbnailCropY =  null

[line 187]


Type:   mixed


[ Top ]

$thumbnailFormat =  null

[line 169]


Type:   mixed


[ Top ]

$thumbnailQuality =  75

[line 168]


Type:   mixed


[ Top ]

$thumbnail_height =  null

[line 198]


Type:   mixed


[ Top ]

$thumbnail_image_height =  null

[line 200]


Type:   mixed


[ Top ]

$thumbnail_image_width =  null

[line 199]


Type:   mixed


[ Top ]

$thumbnail_width =  null

[line 197]


Type:   mixed


[ Top ]

$useRawIMoutput =  false

[line 176]


Type:   mixed


[ Top ]

$w =  null

[line 25]


Type:   mixed


[ Top ]

$wl =  null

[line 29]


Type:   mixed


[ Top ]

$wp =  null

[line 27]


Type:   mixed


[ Top ]

$ws =  null

[line 31]


Type:   mixed


[ Top ]

$xto =  null

[line 45]


Type:   mixed


[ Top ]

$zc =  null

[line 39]


Type:   mixed


[ Top ]



Class Methods


method AlphaChannelFlatten [line 2076]

void AlphaChannelFlatten( )



[ Top ]

method AntiOffsiteLinking [line 1985]

void AntiOffsiteLinking( )



[ Top ]

method ApplyFilters [line 2179]

void ApplyFilters( )



[ Top ]

method CalculateThumbnailDimensions [line 2706]

void CalculateThumbnailDimensions( )



[ Top ]

method CleanUpCacheDirectory [line 651]

void CleanUpCacheDirectory( )



[ Top ]

method CreateGDoutput [line 2800]

void CreateGDoutput( )



[ Top ]

method DebugMessage [line 3833]

void DebugMessage( $message, [ $file = ''], [ $line = ''])



Parameters:

   $message  
   $file  
   $line  

[ Top ]

method DebugTimingMessage [line 3838]

void DebugTimingMessage( $message, [ $file = ''], [ $line = ''], [ $timestamp = 0])



Parameters:

   $message  
   $file  
   $line  
   $timestamp  

[ Top ]

method ErrorImage [line 3604]

void ErrorImage( $text, [ $width = 0], [ $height = 0], [ $forcedisplay = false])



Parameters:

   $text  
   $width  
   $height  
   $forcedisplay  

[ Top ]

method ExtractEXIFgetImageSize [line 2855]

void ExtractEXIFgetImageSize( )



[ Top ]

method FatalError [line 3597]

void FatalError( $text)



Parameters:

   $text  

[ Top ]

method FixedAspectRatio [line 1921]

void FixedAspectRatio( )



[ Top ]

method GenerateThumbnail [line 307]

void GenerateThumbnail( )



[ Top ]

method getParameter [line 297]

void getParameter( $param)



Parameters:

   $param  

[ Top ]

method ImageCreateFromFilename [line 3105]

void ImageCreateFromFilename( $filename)



Parameters:

   $filename  

[ Top ]

method ImageCreateFromStringReplacement [line 3701]

void ImageCreateFromStringReplacement( &$RawImageData, [ $DieOnErrors = false])



Parameters:

   &$RawImageData  
   $DieOnErrors  

[ Top ]

method ImageMagickCommandlineBase [line 1086]

void ImageMagickCommandlineBase( )



[ Top ]

method ImageMagickFormatsList [line 1191]

void ImageMagickFormatsList( )



[ Top ]

method ImageMagickSwitchAvailable [line 1160]

void ImageMagickSwitchAvailable( $switchname)



Parameters:

   $switchname  

[ Top ]

method ImageMagickThumbnailToGD [line 1205]

void ImageMagickThumbnailToGD( )



[ Top ]

method ImageMagickVersion [line 1137]

void ImageMagickVersion( [ $returnRAW = false])



Parameters:

   $returnRAW  

[ Top ]

method ImageMagickWhichConvert [line 1074]

void ImageMagickWhichConvert( )



[ Top ]

method ImageResizeFunction [line 3807]

void ImageResizeFunction( &$dst_im, &$src_im, $dstX, $dstY, $srcX, $srcY, $dstW, $dstH, $srcW, $srcH)



Parameters:

   &$dst_im  
   &$src_im  
   $dstX  
   $dstY  
   $srcX  
   $srcY  
   $dstW  
   $dstH  
   $srcW  
   $srcH  

[ Top ]

method InitializeTempDirSetting [line 3821]

void InitializeTempDirSetting( )



[ Top ]

method MaxFileSize [line 2633]

void MaxFileSize( )



[ Top ]

method OffsiteDomainIsAllowed [line 1960]

void OffsiteDomainIsAllowed( $hostname, $allowed_domains)



Parameters:

   $hostname  
   $allowed_domains  

[ Top ]

method OutputThumbnail [line 555]

void OutputThumbnail( )



[ Top ]

method phpThumb [line 214]

void phpThumb( )



[ Top ]

method phpThumbDebug [line 3455]

void phpThumbDebug( [ $level = ''])



Parameters:

   $level  

[ Top ]

method phpThumbDebugVarDump [line 3434]

void phpThumbDebugVarDump( $var)



Parameters:

   $var  

[ Top ]

method phpThumb_tempnam [line 3826]

void phpThumb_tempnam( )



[ Top ]

method RenderOutput [line 410]

void RenderOutput( )



[ Top ]

method RenderToFile [line 519]

void RenderToFile( $filename)



Parameters:

   $filename  

[ Top ]

method resetObject [line 785]

void resetObject( )



[ Top ]

method ResolveFilenameToAbsolute [line 968]

void ResolveFilenameToAbsolute( $filename)



Parameters:

   $filename  

[ Top ]

method ResolveSource [line 799]

void ResolveSource( )



[ Top ]

method Rotate [line 1834]

void Rotate( )



[ Top ]

method setCacheDirectory [line 915]

void setCacheDirectory( )



[ Top ]

method SetCacheFilename [line 2991]

void SetCacheFilename( )



[ Top ]

method SetOrientationDependantWidthHeight [line 2834]

void SetOrientationDependantWidthHeight( )



[ Top ]

method setOutputFormat [line 833]

void setOutputFormat( )



[ Top ]

method setParameter [line 279]

void setParameter( $param, $value)



Parameters:

   $param  
   $value  

[ Top ]

method setSourceData [line 248]

void setSourceData( $rawImageData, [ $sourceFilename = ''])



Parameters:

   $rawImageData  
   $sourceFilename  

[ Top ]

method setSourceFilename [line 229]

void setSourceFilename( $sourceFilename)



Parameters:

   $sourceFilename  

[ Top ]

method setSourceImageResource [line 272]

void setSourceImageResource( $gdimg)



Parameters:

   $gdimg  

[ Top ]

method SourceImageIsTooLarge [line 3093]

void SourceImageIsTooLarge( $width, $height)



Parameters:

   $width  
   $height  

[ Top ]

method SourceImageToGD [line 3189]

void SourceImageToGD( )



[ Top ]


Documentation generated on Fri, 18 Jul 2008 21:48:59 +0200 by phpDocumentor 1.4.1