PluginEventContent

Methods

__construct

__construct(string $content = null, string $cssClass = null, string $id = null) 

Arguments

$content

string

$cssClass

string

$id

string

Add a css class to use for this content

addCssClass(string $cssClass) : \ls\pluginmanager\PluginEventContent

Arguments

$cssClass

string

Response

\ls\pluginmanager\PluginEventContent

Add to existing content, by default append but optionally prepend it

addContent(string $content = '', string $placement = self::APPEND) 

Arguments

$content

string

$placement

string

append or prepend

Clears exisiting content

cleanContent() : \ls\pluginmanager\PluginEventContent

getContent

getContent() 

getCssClass

getCssClass() 

getCssId

getCssId() 

hasContent

hasContent() 

Replace existing content

setContent(string $content = '') : \ls\pluginmanager\PluginEventContent

Arguments

$content

string

Response

\ls\pluginmanager\PluginEventContent

Set the css class to use for this content

setCssClass(string $cssClass) : \ls\pluginmanager\PluginEventContent

Arguments

$cssClass

string

Response

\ls\pluginmanager\PluginEventContent

Set the css id to use for this content

setCssId(string $id) : \ls\pluginmanager\PluginEventContent

Arguments

$id

string

Response

\ls\pluginmanager\PluginEventContent

Constants

APPEND

APPEND

PREPEND

PREPEND

Properties

_content

_content : 

_cssClass

_cssClass : 

_cssId

_cssId :