Class cacheManager
Standard options interface
public
|
|
public
|
|
public
|
|
public static
|
|
public
string
|
|
public static
|
#
addCacheSize( string $owner, integer $size, integer $width, integer $height, integer $cw, integer $ch, integer $cx, integer $cy, boolean $thumb, boolean $watermark = NULL, string $effects = NULL, boolean $maxspace = false )
Adds a custom image cache size for themes and – despite the method name – also for plugins |
public static
|
#
addThemeCacheSize( $theme, $size, $width, $height, $cw, $ch, $cx, $cy, $thumb, $watermark = NULL, $effects = NULL, $maxspace = false )
Adds a custom image cache size for themes and – despite the method name – also for plugins |
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
string
|
|
public static
|
#
recordMissing( string $table, string $row, string $image )
Updates an global array variable with missing images |
public static
mixed
|
#
updateCacheName( mixed $text, string $target, string $update )
Updates the path to the cache folder |
public static
array
|
|
public static
type
|
|
public static
|
|
public static
integer
|
|
public static
mixed
|
#
generateImage( string $imageuri )
Sends a single cURL request to i.php to generate the image size requested if curl is available, otherwise requests the image size directly by printing it. |
public static
boolean
|
|
public static
|
#
printSizesListEntry( string $value, string $checked, string $text, string $class = null )
Prints the form elements to select a cache size to process |
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
#
cleanupCacheSizes( )
Removes up all sizes by non existing themes and non active plugins on this install |
public static
|
|
public static
|
#
printButtons( string $returnpage, string $alb = '', boolean $hidden = false )
Prints the buttons after you cached image sizes |
public static
array
|
$sizes
|
#
array()
|
public static
array
|
$enabledsizes
|
#
array()
|
public static
integer
|
$albums_cached
|
#
0
|
public static
integer
|
$images_cached
|
#
0
|
public static
integer
|
$imagesizes_total
|
#
0
|
public static
integer
|
$starttime
|
#
0
|
public static
integer
|
$imagesizes_cached
|
#
0
|
public static
integer
|
$imagesizes_failed
|
#
0
|
public static
|
$missingimages
|
#
null
|