LimeSurvey API - Master branch

PluginEventContent
in package

Table of Contents

Constants

APPEND  = 'append'
PREPEND  = 'prepend'

Properties

$_content  : mixed
$_cssClass  : mixed
$_cssId  : mixed

Methods

__construct()  : mixed
addContent()  : mixed
Add to existing content, by default append but optionally prepend it
addCssClass()  : PluginEventContent
Add a css class to use for this content
cleanContent()  : PluginEventContent
Clears exisiting content
getContent()  : mixed
getCssClass()  : mixed
getCssId()  : mixed
hasContent()  : mixed
setContent()  : PluginEventContent
Replace existing content
setCssClass()  : PluginEventContent
Set the css class to use for this content
setCssId()  : PluginEventContent
Set the css id to use for this content

Constants

Properties

Methods

__construct()

public __construct([string $content = null ][, string $cssClass = null ][, string $id = null ]) : mixed
Parameters
$content : string = null
$cssClass : string = null
$id : string = null

addContent()

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

public addContent([string $content = '' ][, string $placement = self::APPEND ]) : mixed
Parameters
$content : string = ''
$placement : string = self::APPEND

append or prepend


        
On this page

Search results