TwistPHP Documentation

extractParameters

File path: dist/twist/Core/Utilities/View.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

extractParametersExplode parameters they must be set as key=value pairs comma separated. To pass a unassociated array in the values split by pipe symbol '|'

Parameters

Name Type Description
$strReferencestringn/a
[$arrData = array()]arrayn/a

Return Values

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

Example

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

//Call the function extractParameters with the example vars
Twist::View() -> extractParameters($strReference$arrData);