textInstallReporter
in package
implements
jIInstallReporter
simple text reporter
Interfaces, Classes and Traits
- jIInstallReporter
- 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
- __construct() : mixed
- end() : mixed
- called when the installation is finished
- message() : mixed
- displays a message
- start() : mixed
- start the process
Properties
$level
protected
string
$level
error, notice or warning
Methods
__construct()
public
__construct([mixed $level = 'notice' ]) : mixed
Parameters
- $level : mixed = 'notice'
Return values
mixed —end()
called when the installation is finished
public
end(array<string|int, mixed> $results) : mixed
Parameters
- $results : array<string|int, mixed>
-
an array which contains, for each type of message, the number of messages
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 —start()
start the process
public
start() : mixed