TwistPHP Documentation

replace

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

replaceReplace tags in raw View data with the array of tags supplied

Parameters

Name Type Description
$strRawViewDatastringn/a
[$arrViewTags = null]arrayn/a
[$blRemoveUnusedTags = false]booleann/a

Return Values

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

Example

<?php
//Set the variables for the example
$strRawViewData 'foo';
$arrViewTags null;
$blRemoveUnusedTags false;

//Call the function replace with the example vars
Twist::View() -> replace($strRawViewData$arrViewTags$blRemoveUnusedTags);