TwistPHP Documentation

locateTag

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

locateTagLocate the line number that a particular tag falls on

Parameters

Name Type Description
$dirViewFilestringn/a
$strTagstringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$dirViewFile '/home/user/public_html/twist';
$strTag 'foo';

//Call the function locateTag with the example vars
Twist::View() -> locateTag($dirViewFile$strTag);