TwistPHP Documentation

removeUnusedTags

File path: dist/twist/Core/Helpers/View.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

removeUnusedTagsRemoves all tags that remain in the View after use

Parameters

Name Type Description
$strViewDatastringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strViewData 'foo';

//Call the function removeUnusedTags with the example vars
Twist::View() -> removeUnusedTags($strViewData);