Magento: getting handles and child blocks

Get all the handles of a controller.

Zend_Debug::dump($this->getLayout()->getUpdate()->getHandles());

Get all the child blocks of a block, $this refer to the current block of a template.

Zend_Debug::dump(array_keys($this->getChild()));

Search within Codexpedia

Custom Search

Search the entire web

Custom Search