Last active
March 16, 2020 14:41
-
-
Save Alphabetus/e521fd19b78bdb8867967f26d5a220ba to your computer and use it in GitHub Desktop.
get handlers for Magento Debugging on index.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* NOTE: | |
* Retrieves the handlers used by Magento on frontend. | |
* Example: | |
* array(8) { [0]=> string(7) "default" [1]=> string(8) "cms_page" [2]=> string(13) "STORE_default" [3]=> string(29) "THEME_frontend_custom_default" [4]=> string(15) "cms_index_index" [5]=> string(22) "page_two_columns_right" [6]=> string(19) "customer_logged_out" [7]=> string(8) "cms_menu" } | |
**/ | |
var_dump(Mage::app()->getLayout()->getUpdate()->getHandles()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment