PostNuke Help |
||
|---|---|---|
Previous |
Next |
|
set configuration variable
string pnBlockShow(modname, block, blockinfo);
pnBlockShow() gets the output of a block by calling its 'block_display' function.
This function returns the output of the block display function is if it succeeds, or void if an exception was raised.
This function raises BAD_PARAM if you pass an invalid parameter. This function raises DATABASE_ERROR if an error occurs while querying data. This function raises ID_NOT_EXIST if the block is unknown. This function raises MODULE_FILE_NOT_EXIST if the block file doesn't exist.
TODO: nail down the block standards. Note that the PostNuke block standards state that blocks called in this way have to return output themselves. Especially, they need to implement the '{$modname}_{$block}block_display' function.
Previous |
Next |