TwistPHP Documentation

arrayPrint

File path: dist/twist/Core/Models/Tools.model.php
Namespace: Twist\Core\Models
Extends:

arrayPrintSimilar to print_r but corrects issues such as booleans, also give more useful information about the data

Parameters

Name Type Description
$arrDataarrayn/a
[$strIndent = '']stringn/a

Return Values

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

Example

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

//Call the function arrayPrint with the example vars
$resTools = new \Twist\Core\Models\Tools();
$resTools -> arrayPrint($arrData$strIndent);