TwistPHP Documentation

locateTag

File path: dist/twist/Core/Helpers/View.helper.php
Namespace: Twist\Core\Helpers
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);