Helping ordinary people create extraordinary websites!


setCurrentBlock()

setCurrentBlock() -- Sets the name of the current block.

Description

Sets the name of the current block: the one in which variables will be substituted.

Parameter

string $block

block name

Return value

return SIGMA_OK on success, error object on failure

Note

This function can not be called statically.