previousHTML_Template_IT::HTML_Template_IT() (Previous) (Next) HTML_Template_IT::getGlobalvariables()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_Template_IT::get()

HTML_Template_IT::get() – get a block including replacments

Synopsis

require_once 'HTML/Template/IT.php';

string HTML_Template_IT::get ( string $block = "__global__" )

Description

This functions return a block with all replacements done.

Parameter

  • string $block - The block to return. If not used, the whole template is returned.

Return value

string - the template with all replacements done.

Throws

Possible PEAR_Error values
Error code Error message Reason Solution
IT_BLOCK_NOT_FOUND " Cannot find this block block " The given block does not exists. Check for typing mistakes in the argument.

Note

This function can not be called statically.

previousHTML_Template_IT::HTML_Template_IT() (Previous) (Next) HTML_Template_IT::getGlobalvariables()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.