Created
October 9, 2013 18:10
-
-
Save joshribakoff/6905615 to your computer and use it in GitHub Desktop.
How to test a magento class thru command line for Ozzy
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
<?php | |
require_once 'app/Mage.php'; | |
Mage::app('admin','store'); | |
// this class is loaded in app/code/local/Paquin/Ozzy.php | |
$ozzy = new Paquin_Ozzy('json2.json'); | |
var_dump($ozzy->categoryIdsToShow()); |
Author
joshribakoff
commented
Oct 9, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment