Documentation

EasyBlogBlockHandlerImage extends EasyBlogBlockHandlerAbstract
in package

Table of Contents

Properties

$doc  : mixed
$element  : mixed
$icon  : mixed
$keywords  : mixed
$nestable  : mixed
$table  : mixed
$title  : mixed
$type  : mixed
$visible  : mixed

Methods

__construct()  : mixed
canUse()  : mixed
Determine if current user can use this block or not in composer.
data()  : mixed
Default block data
formatDisplay()  : mixed
Standard method to format the output for displaying purposes
getAMPHtml()  : mixed
Retrieve Instant article html
getDescription()  : mixed
Retrieves the description / help text for the current block
getEditableHtml()  : mixed
Retrieves the output for the block when it is being edited
getFieldset()  : mixed
Renders the fieldset of a block
getHtml()  : mixed
Displays the output
getIcon()  : mixed
Retrieves the icon
getInstantHtml()  : mixed
Retrieve Instant article html
getInstantHtmlArticle()  : mixed
getInstantHtmlBlockquote()  : mixed
getInstantHtmlEmbedded()  : mixed
getInstantHtmlFigure()  : mixed
getInstantHtmlGallery()  : mixed
getInstantHtmlHeading()  : mixed
getInstantHtmlImage()  : mixed
getInstantHtmlNone()  : mixed
getInstantHtmlSection()  : mixed
getInstantHtmlTable()  : mixed
getInstantHtmlVideo()  : mixed
meta()  : mixed
Standard meta data of a block object
updateBlock()  : mixed
validate()  : mixed
Validates if the block contains any contents
addCssUnit()  : mixed
getStyle()  : mixed
ratioDecimal()  : mixed
function to convert the image ratio to decimal so that we can get the padding value for display.

Properties

$element

public mixed $element = 'image'

$icon

public mixed $icon = 'fdi fa fa-camera'

$nestable

public mixed $nestable = \false

Methods

canUse()

Determine if current user can use this block or not in composer.

public canUse() : mixed
Tags
since
5.0
access

public

data()

Default block data

public data() : mixed
Tags
since
6.0.0
access

public

formatDisplay()

Standard method to format the output for displaying purposes

public formatDisplay(mixed $item, EasyBlogPost &$blog) : mixed
Parameters
$item : mixed
$blog : EasyBlogPost
Tags
since
5.1
access

public

getAMPHtml()

Retrieve Instant article html

public getAMPHtml(mixed $block) : mixed
Parameters
$block : mixed
Tags
since
5.0
access

public

getDescription()

Retrieves the description / help text for the current block

public getDescription() : mixed
Tags
since
5.1
access

public

getEditableHtml()

Retrieves the output for the block when it is being edited

public getEditableHtml(mixed $block) : mixed
Parameters
$block : mixed
Tags
since
5.0
access

public

getFieldset()

Renders the fieldset of a block

public getFieldset(mixed $meta) : mixed
Parameters
$meta : mixed
Tags
since
6.0.0
access

public

getHtml()

Displays the output

public getHtml(mixed $block[, mixed $textOnly = false ][, mixed $useRelative = false ]) : mixed
Parameters
$block : mixed
$textOnly : mixed = false
$useRelative : mixed = false
Tags
since
5.1
access

public

getIcon()

Retrieves the icon

public getIcon() : mixed
Tags
since
5.1
access

public

getInstantHtml()

Retrieve Instant article html

public getInstantHtml(mixed $block) : mixed
Parameters
$block : mixed
Tags
since
5.0
access

public

getInstantHtmlArticle()

public getInstantHtmlArticle(mixed $block) : mixed
Parameters
$block : mixed

getInstantHtmlBlockquote()

public getInstantHtmlBlockquote(mixed $block) : mixed
Parameters
$block : mixed

getInstantHtmlEmbedded()

public getInstantHtmlEmbedded(mixed $block) : mixed
Parameters
$block : mixed

getInstantHtmlFigure()

public getInstantHtmlFigure(mixed $block) : mixed
Parameters
$block : mixed

getInstantHtmlGallery()

public getInstantHtmlGallery(mixed $block) : mixed
Parameters
$block : mixed

getInstantHtmlHeading()

public getInstantHtmlHeading(mixed $block) : mixed
Parameters
$block : mixed

getInstantHtmlImage()

public getInstantHtmlImage(mixed $block) : mixed
Parameters
$block : mixed

getInstantHtmlNone()

public getInstantHtmlNone(mixed $block) : mixed
Parameters
$block : mixed

getInstantHtmlSection()

public getInstantHtmlSection(mixed $block) : mixed
Parameters
$block : mixed

getInstantHtmlTable()

public getInstantHtmlTable(mixed $block) : mixed
Parameters
$block : mixed

getInstantHtmlVideo()

public getInstantHtmlVideo(mixed $block) : mixed
Parameters
$block : mixed

meta()

Standard meta data of a block object

public meta() : mixed

updateBlock()

public updateBlock(mixed $block, mixed $data) : mixed
Parameters
$block : mixed
$data : mixed

validate()

Validates if the block contains any contents

public validate(mixed $block) : mixed
Parameters
$block : mixed
Tags
since
5.0
access

public

addCssUnit()

private addCssUnit(mixed $num) : mixed
Parameters
$num : mixed

getStyle()

private getStyle(mixed $rules) : mixed
Parameters
$rules : mixed

ratioDecimal()

function to convert the image ratio to decimal so that we can get the padding value for display.

private ratioDecimal(mixed $ratio) : mixed
Parameters
$ratio : mixed
Tags
since
5.0
access

public


        
On this page

Search results