Documentation

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

getBlock()

Format the image as a block

public getBlock(mixed $thumbnail, mixed $original) : mixed
Parameters
$thumbnail : mixed
$original : mixed
Tags
since
5.1
access

public

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
since
5.0
access

public

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
since
5.1
access

public

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
since
5.1
access

public

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

isMobile()

Determines if this is a mobile layout

public isMobile() : mixed
Tags
since
5.1
access

public

isTablet()

Determines if this is a tablet layout

public isTablet() : mixed
Tags
since
5.3
access

public

loadLanguage()

Helper method to load language

public loadLanguage([mixed $admin = false ]) : mixed
Parameters
$admin : mixed = false
Tags
since
5.0
access

public

process()

Retrieves a list of galleries associated with the post

public process(mixed $content[, mixed $userId = '' ]) : mixed
Parameters
$content : mixed
$userId : mixed = ''
Tags
since
5.1
access

public

processAMP()

Process gallery to be used in AMP Article

public processAMP(mixed $content[, mixed $userId = '' ]) : mixed
Parameters
$content : mixed
$userId : mixed = ''
Tags
since
5.0
access

public

processInstantGallery()

Process gallery to be used in Instant Article

public processInstantGallery(mixed $content) : mixed
Parameters
$content : mixed
Tags
since
5.0
access

public

removeGalleryCodes()

Remove html contents from a gallery

public removeGalleryCodes(mixed $text) : mixed
Parameters
$text : mixed
Tags
since
5.1
access

public

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
access

public

stripCodes()

Used in conjunction with EB::formatter()

public stripCodes(EasyBlogPost &$post) : mixed
Parameters
$post : EasyBlogPost
Tags
since
4.0
access

public


        
On this page

Search results