Created
December 7, 2012 10:10
-
-
Save Swader/4232287 to your computer and use it in GitHub Desktop.
notices_article_02
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// $oView = ... our view object | |
if (/* some expression that signifies an error */) { | |
$aMessages['error'] = 'Error no.2 occurred, contact developer!'; | |
} | |
$aMessages['status'] = 'Finished operation'; | |
$oView->aMessages = $aMessages; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment