File path: dist/twist/Core/Models/Tools.model.php
Namespace: Twist\Core\Models
arrayParseUnset
— Remove an item from a multi-dimensional array using a key, the split char indicates a change in array level
Name | Description |
---|---|
$strKey | n/a |
$arrData | n/a |
[$strSplitChar = '] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strKey = 'foo';
$arrData = array(0 => 'foo', 1 => 'bar');
$strSplitChar = ';
//Call the function arrayParseUnset with the example vars
$resTools = new \Twist\Core\Models\Tools();
$resTools -> arrayParseUnset($strKey, $arrData, $strSplitChar);