$resources = Mage::getModel('admin/roles')->getResourcesList();
foreach($resources as $key=>$value)
{
echo $key."
"; // fetch each resource
}
print_r($resources); // get All resource list in an array
No comments:
Post a Comment