File path: dist/twist/Twist.php
Namespace: \
messageHandler
— Process the user messages to be output into the view
Tag: Tag can be any one of the below but not multiple.
{messages:all|error|notice|warning|success}
Tag Parameters:
combine - default is true (on)
key - pass in the required messages by key can be pipe (|) separated
style - determine th output styling, currently can be plain, rich or HTML
Example Tag:
{messages:error,combine=true,key=andi|dan,style=html}
Name | Description |
---|---|
$strReference | n/a |
[$arrParameters = array()] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strReference = 'foo';
$arrParameters = array();
//Call the function messageHandler with the example vars
Twist::Twist() -> messageHandler($strReference, $arrParameters);