If you’ve just started working with Magento, you’ll find that figuring out which class is loaded in the current template file very difficult. Here’s a little snippet that helps you figure it out. Just place the following into any .phtml template files:
1 |
<?php print_r(get_class_methods(get_class($this))); ?> |
or
1 |
<?php print_r($this->debug()); ?> |
or
1 |
<?php echo Zend_Debug::dump($this); ?> |
Leave a Comment