Classe gérant l'affichage text/html
Fonction getView
Permet récupérer le HTML du templateAppel :
TphpWebTpl::getView($path, $data = []);$path : le chemin du template "produit.detail" par exemple
$data : C'est la variable contenant les data utilisé par le template.
Retour :
string : $html
Fonction inc
Appel le templateAppel :
TphpWebTpl::inc($name,$conf=[],$param=[]);Retour :
output