TwistPHP Documentation


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

processElementProcess element tag, return the data captured from the output of the element.
Additional parameters are exploded of the end of the Element var, these parameters are comma separated.
To retrieve the parameters use $this->getParameters(); in your element.


Name Type Description
[$arrData = null]arrayn/a

Return Values

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


//Set the variables for the example
$dirView '/home/user/public_html/twist';
$arrData null;

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