How can i get a var_dump'd list of all loaded reference names for a page (hack a core file temporarily).
I'm trying to determine which references are loaded on any page I am on... for instance, my block is loaded like this in my design layout xml...
<layout> <default> <reference name="head"> <action method="addJs"> <script>nki_customer.js</script> </action> <action method="addCss"> <name>nki_customer.css</name> </action> </reference> <!--Magento omits the ->getChildHtml() from head, so you HAVE to use something else to render blocks--> <reference name="content"> <block type="nki_customer/adminhtml_varinject" name="nki_customer_varinject" template="nki_customer/varinject.phtml"/> </reference> </default>
The thing is, I know that in magento admin, 'head' does not load child html. For unknown reasons (probably to purchase enterprise) they do not do that. 'Content' does, but it is not used everywhere.
I am not going to modify nor override core design files at this time, so please no suggestions to add $this->hildHtml() to the admin head phtml file.
I would love to know which core file I can open and just add a good ol' var_dump($something) and it will throw a giant list of the references used on the page.