PEAR Manual
This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.
require_once 'HTML/Template/Sigma.php';
mixed HTML_Template_Sigma::replaceBlockfile (string $block, string $filename [, boolean $keepContent = FALSE])
mixed HTML_Template_Sigma::replaceBlockfile
Replaces an existing block with new content from a file.
name of a block to replace
template file that contains the block
TRUE if the parsed contents of the block should be kept
return SIGMA_OK on success, error object on failure
see HTML_Template_Sigma::replaceBlock(), HTML_Template_Sigma::addBlockfile()
Table 40-1. Possible PEAR_Error values
This function can not be called statically.