-
Notifications
You must be signed in to change notification settings - Fork 2
Home
blagorod edited this page Nov 6, 2013
·
7 revisions
Attention:
Message::queue(array( 'type' => Message::NOTIFY, 'text' => 'Attention!' ));
or notification
Message::queue(array( 'type' => Message::INFO, 'text' => 'Hello from Russia!' ));
when something is succeed:
Message::queue(array( 'type' => Message::SUCCESS, 'text' => 'Data successfully saved.' ));
or goes wrong:
Message::queue(array( 'type' => Message::ERROR, 'text' => 'Oops, something goes wrong.' ));
Place this code where you want to render them:
Message::render(array('view' => 'message/basic'));