HTML_Template_IT::setVariable() HTML_Template_IT::touchBlock()

HTML_Template_IT

PEAR Manual


HTML_Template_IT::show()

HTML_Template_IT::show() -- print a block including replacments

Synopsis

      require_once 'HTML/Template/IT.php';
     

void HTML_Template_IT::show ( string $block )

Description

This functions prints a block with all replacements done.

Parameter

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

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.



HTML_Template_IT::setVariable() HTML_Template_IT::touchBlock()

HTML_Template_IT

PEAR Manual