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

 

GetBlocInFile

string GetBlocInFile( string item , string filename )

The GetBlocInFile() function serves to return a whole block of the template file.


<?php

$bloc
= $TPLN->GetBlocInFile("my_bloc");

?>


TopTop