EasyBlogGallery
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
- format() : mixed
- Used in conjunction with EB::formatter()
- getBlock() : mixed
- Format the image as a block
- getError() : mixed
- getErrors() : mixed
- getImageMeta() : mixed
- Retrieves the image data
- getImages() : mixed
- Given a json string, locate all images in the respective folder
- getItems() : mixed
- Retrieves a list of galleries associated with the post
- 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
- process() : mixed
- Retrieves a list of galleries associated with the post
- processAMP() : mixed
- Process gallery to be used in AMP Article
- processInstantGallery() : mixed
- Process gallery to be used in Instant Article
- removeGalleryCodes() : mixed
- Remove html contents from a gallery
- setError() : mixed
- strip() : mixed
- Search and removes the gallery tag from the content.
- stripCodes() : mixed
- Used in conjunction with EB::formatter()
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
format()
Used in conjunction with EB::formatter()
public
format(EasyBlogPost &$blog) : mixed
Parameters
- $blog : EasyBlogPost
Tags
getBlock()
Format the image as a block
public
getBlock(mixed $thumbnail, mixed $original) : mixed
Parameters
- $thumbnail : mixed
- $original : mixed
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
getImageMeta()
Retrieves the image data
public
getImageMeta(mixed $storage, mixed $storageUrl, mixed $image) : mixed
Parameters
- $storage : mixed
- $storageUrl : mixed
- $image : mixed
Tags
getImages()
Given a json string, locate all images in the respective folder
public
getImages(mixed $gallery[, mixed $relative = false ]) : mixed
Parameters
- $gallery : mixed
- $relative : mixed = false
Tags
getItems()
Retrieves a list of galleries associated with the post
public
getItems(mixed $content[, mixed $returnObject = false ][, mixed $useRelative = false ]) : mixed
Parameters
- $content : mixed
- $returnObject : mixed = false
- $useRelative : 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
process()
Retrieves a list of galleries associated with the post
public
process(mixed $content[, mixed $userId = '' ]) : mixed
Parameters
- $content : mixed
- $userId : mixed = ''
Tags
processAMP()
Process gallery to be used in AMP Article
public
processAMP(mixed $content[, mixed $userId = '' ]) : mixed
Parameters
- $content : mixed
- $userId : mixed = ''
Tags
processInstantGallery()
Process gallery to be used in Instant Article
public
processInstantGallery(mixed $content) : mixed
Parameters
- $content : mixed
Tags
removeGalleryCodes()
Remove html contents from a gallery
public
removeGalleryCodes(mixed $text) : mixed
Parameters
- $text : mixed
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed
strip()
Search and removes the gallery tag from the content.
public
strip(string $content) : mixed
Parameters
- $content : string
-
The content to search on.
Tags
stripCodes()
Used in conjunction with EB::formatter()
public
stripCodes(EasyBlogPost &$post) : mixed
Parameters
- $post : EasyBlogPost