TwistPHP Documentation

arrayParse

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

arrayParseReturn a value in an array using multi dimensional key to parse the structure of the array

Parameters

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

Return Values

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

Example

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

//Call the function arrayParse with the example vars
$resTools = new \Twist\Core\Models\Tools();
$resTools -> arrayParse($strKey, $arrData, $strSplitChar);