setCurrentBlock() -- Sets the name of the current block.
Beschreibung
Sets the name of the current block: the one in which variables will be substituted.
Rückgabewert
return SIGMA_OK on success, error object on failure
Fehler-Meldungen
Tabelle 42-1. Mögliche Fehler-Arten
Error code | Error message | Reason | Solution |
---|
SIGMA_BLOCK_NOT_FOUND | Cannot find block '$block' | There is no block $block in the template | Check the block name spelling, check whether you added all the necessary blocks to the template |
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.