EasyBlogBlogImage
extends EasyBlog
in package
Table of Contents
Properties
- $absoluteUri : mixed
- $app : mixed
- $config : mixed
- $db : mixed
- $doc : mixed
- $image : mixed
- $input : mixed
- $jconfig : mixed
- $lang : mixed
- $my : mixed
- $original : mixed
- $sizes : mixed
- $storage : mixed
- $storageType : mixed
- $string : mixed
- $uri : mixed
Methods
- __construct() : mixed
- createImage() : mixed
- Create an image given the width and size
- generateVariationSizes() : mixed
- Initialize dimensions available
- getError() : mixed
- getErrors() : mixed
- getImageDimension() : mixed
- Get image dimension of the post cover
- getRemoteSource() : mixed
- Returns a particular image url from remote server with the specified size
- getSource() : mixed
- Returns a particular image url with the specified size
- 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
- setError() : mixed
Properties
$absoluteUri
public
mixed
$absoluteUri
= \null
$app
public
mixed
$app
= \null
$config
public
mixed
$config
= \null
$db
public
mixed
$db
= \null
$doc
public
mixed
$doc
= \null
$image
public
mixed
$image
= \null
$input
public
mixed
$input
= \null
$jconfig
public
mixed
$jconfig
= \null
$lang
public
mixed
$lang
= \null
$my
public
mixed
$my
= \null
$original
public
mixed
$original
= \null
$sizes
public
mixed
$sizes
= []
$storage
public
mixed
$storage
= \null
$storageType
public
mixed
$storageType
= \null
$string
public
mixed
$string
= \null
$uri
public
mixed
$uri
= \null
Methods
__construct()
public
__construct(mixed $path, mixed $url[, mixed $storageType = EASYBLOG_MEDIA_STORAGE_TYPE_JOOMLA ]) : mixed
Parameters
- $path : mixed
- $url : mixed
- $storageType : mixed = EASYBLOG_MEDIA_STORAGE_TYPE_JOOMLA
createImage()
Create an image given the width and size
public
createImage(mixed $params, mixed $storagePath) : mixed
Parameters
- $params : mixed
- $storagePath : mixed
Tags
generateVariationSizes()
Initialize dimensions available
public
generateVariationSizes() : mixed
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
getImageDimension()
Get image dimension of the post cover
public
getImageDimension([mixed $size = 'original' ]) : mixed
Parameters
- $size : mixed = 'original'
Tags
getRemoteSource()
Returns a particular image url from remote server with the specified size
public
getRemoteSource(mixed $size[, mixed $html = false ][, mixed $protocol = false ]) : mixed
Parameters
- $size : mixed
- $html : mixed = false
- $protocol : mixed = false
Tags
getSource()
Returns a particular image url with the specified size
public
getSource(mixed $size[, mixed $html = false ][, mixed $protocol = false ]) : mixed
Parameters
- $size : mixed
- $html : mixed = false
- $protocol : mixed = false
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
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed