PEAR-Handbuch | ||
---|---|---|
Zurück | Nach vorne |
Returns a list of blocks within a template.
If $recursive is FALSE, it returns just a 'flat' array of $parent's direct subblocks. If $recursive is TRUE, it builds a tree of template blocks using $parent as root. Tree structure is compatible with PEAR::Tree's Memory_Array driver.
parent block name
whether to return a tree of child blocks (TRUE) or a 'flat' array (FALSE)
Tabelle 42-1. Mögliche Fehler-Arten
Error code | Error message | Reason | Solution |
---|---|---|---|
SIGMA_BLOCK_NOT_FOUND | Cannot find block '$parent' | There is no block $parent in the template | Check the block name spelling, check whether you added all the necessary blocks to the template |
Zurück | Zum Anfang | Nach vorne |
get() | Nach oben | getCurrentBlock() |