Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- public function retrieveAllChilds($id = null, $childs = null) {
- $category = Mage::getModel('catalog/category')->load($id);
- return $category->getResource()->getChildren($category, true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement