PHP Interface ManaPHP\Mvc\View\FlashInterface

显示文件 Open project: manaphp/manaphp

Public Methods

Method Description
error ( string $message ) : void Shows a HTML error message
notice ( string $message ) : void Shows a HTML notice/information message
output ( boolean $remove = true ) : void Prints the messages in the session flasher
success ( string $message ) : void Shows a HTML success message
warning ( string $message ) : void Shows a HTML warning message

Method Details

error() public method

Shows a HTML error message
public error ( string $message ) : void
$message string
return void

notice() public method

Shows a HTML notice/information message
public notice ( string $message ) : void
$message string
return void

output() public method

Prints the messages in the session flasher
public output ( boolean $remove = true ) : void
$remove boolean
return void

success() public method

Shows a HTML success message
public success ( string $message ) : void
$message string
return void

warning() public method

Shows a HTML warning message
public warning ( string $message ) : void
$message string
return void