Méthode | Description | |
---|---|---|
deleteMessages ( ) | Clean the bag by removing all messages | |
getMessage ( array $message ) : mixed | Get the message text | |
getMessageType ( array $message ) : mixed | Get the message type of a message get by getMessages | |
getMessages ( ) : array | Get all messages as an array | |
hasMessages ( ) : boolean | Tell whether or not this bag has pending messages | |
writeComment ( string $s ) : void | Add a comment message | |
writeError ( string $s ) : void | Add an error message | |
writeInfo ( string $s ) : void | Add an info message | |
writeLine ( string $s ) : void | Add a simple message | |
writeQuestion ( string $s ) : void | Add a question message |
Méthode | Description | |
---|---|---|
cleanMessage ( string $m ) : string | Trim and remove all XML tags |
protected cleanMessage ( string $m ) : string | ||
$m | string | the message to clean |
Résultat | string |
public getMessage ( array $message ) : mixed | ||
$message | array | |
Résultat | mixed |
public getMessageType ( array $message ) : mixed | ||
$message | array | |
Résultat | mixed |
public getMessages ( ) : array | ||
Résultat | array |
public hasMessages ( ) : boolean | ||
Résultat | boolean |
public writeComment ( string $s ) : void | ||
$s | string | the message to display |
Résultat | void |
public writeError ( string $s ) : void | ||
$s | string | the message to display |
Résultat | void |
public writeQuestion ( string $s ) : void | ||
$s | string | the message to display |
Résultat | void |