Created
September 16, 2014 13:53
-
-
Save benmarks/0c2a50e73f485134f3d2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php | |
ini_set('display_errors',true); | |
error_reporting(E_ALL | E_STRICT); | |
require 'app/Mage.php'; | |
Mage::setIsDeveloperMode(true); | |
umask(0); | |
Mage::app(); | |
header('Content-Type: text/plain'); | |
echo get_class( | |
Mage::getModel('customer/customer') | |
); | |
echo PHP_EOL; | |
echo get_class( | |
Mage::getModel('sales/order_item') | |
); | |
echo PHP_EOL; | |
echo get_class( | |
Mage::app()->getLayout()->createBlock('catalog/product_view') | |
); | |
echo PHP_EOL; | |
echo get_class( | |
Mage::app()->getLayout()->createBlock('cms/block') | |
); | |
echo PHP_EOL; | |
echo get_class( | |
Mage::helper('customer/address') | |
); | |
echo PHP_EOL; | |
echo get_class( | |
Mage::helper('sales') | |
); | |
echo PHP_EOL; | |
echo get_class( | |
Mage::getResourceModel('catalog/product') | |
); | |
echo PHP_EOL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment