TwistPHP Documentation

errorMessage

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

errorMessageLog an error 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 errorMessage with the example vars
Twist::Twist() -> errorMessage($strMessage$strKey);