Jelix 1.7.18

SimpleConsole
in package
implements ReporterInterface Uses ReporterTrait

simple text reporter.

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

$level  : string
$title  : mixed
$messageCounter  : mixed
__construct()  : mixed
end()  : mixed
called when the installation is finished.
getMessageCounter()  : mixed
message()  : mixed
displays a message.
resetMessageCounter()  : mixed
start()  : mixed
start the process.
addMessageType()  : mixed

Properties

Methods

__construct()

public __construct([mixed $level = 'notice' ][, mixed $title = 'Installation' ]) : mixed
Parameters
$level : mixed = 'notice'
$title : mixed = 'Installation'
Return values
mixed

end()

called when the installation is finished.

public end() : mixed
Return values
mixed

getMessageCounter()

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

message()

displays a message.

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

the message to display

$type : string = ''

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

Return values
mixed

resetMessageCounter()

public resetMessageCounter() : mixed
Return values
mixed

start()

start the process.

public start() : mixed
Return values
mixed

addMessageType()

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

Search results