메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
cleanMessage ( string $m ) : string | Trim and remove all XML tags |
protected cleanMessage ( string $m ) : string | ||
$m | string | the message to clean |
리턴 | string |
public getMessage ( array $message ) : mixed | ||
$message | array | |
리턴 | mixed |
public getMessageType ( array $message ) : mixed | ||
$message | array | |
리턴 | mixed |
public getMessages ( ) : array | ||
리턴 | array |
public hasMessages ( ) : boolean | ||
리턴 | boolean |
public writeComment ( string $s ) : void | ||
$s | string | the message to display |
리턴 | void |
public writeError ( string $s ) : void | ||
$s | string | the message to display |
리턴 | void |
public writeQuestion ( string $s ) : void | ||
$s | string | the message to display |
리턴 | void |