File path: dist/twist/Core/Helpers/View.helper.php
Namespace: Twist\Core\Helpers
Extends: Base
Type: Class
View
— Bring HTML to life with conditional tags, allowing interaction with PHP without using PHP code. Include functionality of additional views in just a fue chars
<?php
//Set the variables for the example
$dirCustomViews = null;
//Call the function setDirectory with the example vars
Twist::View() -> setDirectory($dirCustomViews);
Method | Access | Returns |
---|---|---|
__construct | construct | void |
kill | public | void |
setDirectory | public | void |
getDirectory | public | void |
getCacheKey | protected | void |
readCache | protected | void |
writeCache | protected | void |
removeCache | protected | void |
build | public | void |
replace | public | void |
getData | protected | void |
getParameters | protected | void |
processElement | protected | void |
getTags | public | void |
removeUnusedTags | public | void |
parseViewPath | protected | void |
get | protected | void |
locateTag | protected | void |
validDataTags | protected | void |
processTag | protected | void |
detectType | protected | void |
condition | protected | void |
extractParameters | protected | void |
runTags | public | void |
processArrayItem | protected | void |
replaceTag | protected | void |