EasyBlogImageOptimizer
extends EasyBlog
in package
Table of Contents
Properties
- $app : mixed
- $config : mixed
- $db : mixed
- $doc : mixed
- $input : mixed
- $jconfig : mixed
- $lang : mixed
- $my : mixed
- $string : mixed
Methods
- __construct() : mixed
- getError() : mixed
- getErrors() : mixed
- getImageInfo() : mixed
- Retrieves information about a file
- getLog() : mixed
- Retrieves the log record
- hasError() : mixed
- hasErrors() : mixed
- isMobile() : mixed
- Determines if this is a mobile layout
- isTablet() : mixed
- Determines if this is a tablet layout
- loadLanguage() : mixed
- Helper method to load language
- optimize() : mixed
- Optimize images
- optimizeCron() : mixed
- Optimize images used in cron
- setError() : mixed
Properties
$app
public
mixed
$app
= \null
$config
public
mixed
$config
= \null
$db
public
mixed
$db
= \null
$doc
public
mixed
$doc
= \null
$input
public
mixed
$input
= \null
$jconfig
public
mixed
$jconfig
= \null
$lang
public
mixed
$lang
= \null
$my
public
mixed
$my
= \null
$string
public
mixed
$string
= \null
Methods
__construct()
public
__construct() : mixed
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
getImageInfo()
Retrieves information about a file
public
getImageInfo(mixed $path) : mixed
Parameters
- $path : mixed
Tags
getLog()
Retrieves the log record
public
getLog(mixed $filepath) : mixed
Parameters
- $filepath : mixed
Tags
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
isMobile()
Determines if this is a mobile layout
public
isMobile() : mixed
Tags
isTablet()
Determines if this is a tablet layout
public
isTablet() : mixed
Tags
loadLanguage()
Helper method to load language
public
loadLanguage([mixed $admin = false ]) : mixed
Parameters
- $admin : mixed = false
Tags
optimize()
Optimize images
public
optimize(mixed $pathToImage) : mixed
Parameters
- $pathToImage : mixed
Tags
optimizeCron()
Optimize images used in cron
public
optimizeCron(mixed $image, mixed &$count) : mixed
Parameters
- $image : mixed
- $count : mixed
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed