HTML_Template_IT::get()

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

Return value

string - the template with all replacements done.

Throws

Table 41-1. Possible PEAR_Error values

Error codeError messageReasonSolution
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.

See

HTML_Template_IT::parse()