File path: dist/twist/Core/Models/Tools.model.php
Namespace: Twist\Core\Models
ghostArray
— Create a blank multidimensional array using a URI-style string and populate the last item with a value
Name | Description |
---|---|
$strStructure | n/a |
[$strSplit = '] | n/a |
[$strFinalValue = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strStructure = 'foo';
$strSplit = ';
$strFinalValue = null;
//Call the function ghostArray with the example vars
$resTools = new \Twist\Core\Models\Tools();
$resTools -> ghostArray($strStructure, $strSplit, $strFinalValue);