tangra logo
   
[ class tree: tangra_lib ] [ index: tangra_lib ] [ all elements ]
 

Interface: I_Tple

Source Location: /interfaces/i_tple.class.php

Interface I_Tple

Interface Overview

When implemented shows that the class is Template Engine

Located in /interfaces/i_tple.class.php [line 20]



		
		
		
		

Methods

[ Top ]
Descendants
Child Class Description
I_Tple_Advanced Shows that class is Advanced TPLE

[ Top ]
Method Summary
void   assign()   Assignes value to variable in tple dataspace
void   display()   Displays the template
string   fetch()   Fetches and returns the template
void   get_tpl_dir()   Gets directory where TPL files reside
void   set_tpl_dir()   Sets directory where TPL files reside

[ Top ]
Methods
assign  [line 42]

  void assign( string $tpl_var, [unknown_type $value = null]  )

Assignes value to variable in tple dataspace

Parameters:
string   $tpl_var:  Variable name
unknown_type   $value:  - Variable value

API Tags:
Access:  public


[ Top ]
display  [line 26]

  void display( string $tpl  )

Displays the template

Parameters:
string   $tpl:  Template file

API Tags:
Access:  public


[ Top ]
fetch  [line 34]

  string fetch( unknown_type $tpl  )

Fetches and returns the template

Parameters:
unknown_type   $tpl:  Template file

API Tags:
Access:  public


[ Top ]
get_tpl_dir  [line 57]

  void get_tpl_dir( )

Gets directory where TPL files reside


API Tags:
Access:  public


[ Top ]
set_tpl_dir  [line 50]

  void set_tpl_dir( string $tpl_dir  )

Sets directory where TPL files reside

Parameters:
string   $tpl_dir: 

API Tags:
Access:  public


[ Top ]