TwistPHP Documentation

debug

File path: dist/twist/Core/Helpers/Database.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

debugLog the SQL query debug results for use within the TwistPHP debug bar.

Parameters

Name Type Description
$strQuerystringn/a
$arrExecTimearrayn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strQuery 'foo';
$arrExecTime = array(=> 'foo'=> 'bar');

//Call the function debug with the example vars
Twist::Database() -> debug($strQuery$arrExecTime);