TwistPHP Documentation

successMessage

File path: dist/twist/Twist.php
Namespace: \
Extends:

successMessageLog an success message that can be output using the {messages:} template tag

Parameters

Name Type Description
$strMessagestringn/a
[$strKey = null]stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strMessage 'foo';
$strKey null;

//Call the function successMessage with the example vars
Twist::Twist() -> successMessage($strMessage$strKey);