I want to fetch all resource id(s) list programmatically in foreach loop.
In System > Permission > Roles > Administrator .
In Role Resources Tab and select custom option from dropdown It will display all resources.This All resources want to fetch programmatically.
How can I do this ?