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

TPLN Manual

Functions

Open
DirectIOWrite
DirectIOOutput
DirectIOSave
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

 

DirectIOWrite

void DirectIOWrite( [string filename])

DirectIOWrite() function is a macro that permits to open and write a template.


<?php

$TPLN
->DirectIOWrite("my_template.html");

// is the same as
$TPLN->Open("my_template.html");
$TPLN->Write();

?>


TopTop