Home | Online Examples | Documentation | Forum | Page of Project | Download

TPLN Manual

Functions

Open
DirectIOWrite
DirectIOOutput
DefineTemplate
SetTemplate
ChangeTemplate
ParseGlobals
Parse
FastParse
LoadArrayInBloc
Loop
EraseItem
EraseBloc
GetFile
ParseBloc
ReloadBlocVars
IncludeFile
GetBlocInFile
Write
Output
SaveTemplate
ItemExists
BlocExists
#include Command
Automatic parsed variable
SetChrono

 

SaveTemplate

void SaveTemplate(string $path)

The SaveTemplate() function serves to save the file template.


<?php

$TPLN
->SaveTemplate("tpl/newfile.html");

?>


Attention !
If folders countained in file path not exist they will be automatically created.
TopTop