File path: dist/twist/Core/Controllers/Base.controller.php
Namespace: Twist\Core\Controllers
_warningMessage
— Add an warning message, the messages can be output using the {messages:warning} template tag, you can also output all messages using {messages:all}.
Name | Description |
---|---|
$strMessage | n/a |
[$strKey = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strMessage = 'foo';
$strKey = null;
//Call the function _warningMessage with the example vars
$resBase = new \Twist\Core\Controllers\Base();
$resBase -> _warningMessage($strMessage, $strKey);