Jelix 1.8.12

HtmlBuffer
in package
implements ReporterInterface Uses ReporterTrait

an HTML reporter storing generated content into a string.

Tags

Interfaces, Classes and Traits

ReporterInterface
interface for classes used as reporter for installation or check etc... This classes are responsible to show informations to the user.

Table of Contents

$messageProvider  : mixed
$html  : mixed
$messageCounter  : mixed
__construct()  : mixed
end()  : mixed
called when the installation is finished.
getHtml()  : mixed
getMessageCounter()  : mixed
message()  : mixed
displays a message.
resetMessageCounter()  : mixed
start()  : mixed
start the process.
addMessageType()  : mixed

Properties

$messageProvider

public mixed $messageProvider
Tags

$messageCounter

private mixed $messageCounter = array()
Tags

Methods

__construct()

public __construct(Container $messageProvider) : mixed
Parameters
$messageProvider : Container
Tags
Return values
mixed

end()

called when the installation is finished.

public end() : mixed
Tags
Return values
mixed

getHtml()

public getHtml() : mixed
Tags
Return values
mixed

getMessageCounter()

public getMessageCounter(mixed $type) : mixed
Parameters
$type : mixed
Tags
Return values
mixed

message()

displays a message.

public message(mixed $message[, mixed $type = '' ]) : mixed
Parameters
$message : mixed

the message to display

$type : mixed = ''

the type of the message : 'error', 'notice', 'warning', ''

Tags
Return values
mixed

resetMessageCounter()

public resetMessageCounter() : mixed
Tags
Return values
mixed

start()

start the process.

public start() : mixed
Tags
Return values
mixed

addMessageType()

protected addMessageType(mixed $type) : mixed
Parameters
$type : mixed
Tags
Return values
mixed

Search results