File path: dist/twist/Twist.php
Namespace: \
recordEvent
— Record events on for the current page load can be logged and a time-line produced, helps with debugging.
The TwistPHP event recorder only records and outputs events if DEVELOPMENT_MODE and DEVELOPMENT_EVENT_RECORDER settings are set to true|1.
Name | Description |
---|---|
$strEventName | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strEventName = 'foo';
//Call the function recordEvent with the example vars
Twist::Twist() -> recordEvent($strEventName);