Public Member Functions | |
assert (Mage_Admin_Model_Acl $acl, Mage_Admin_Model_Acl_Role $role=null, Mage_Admin_Model_Acl_Resource $resource=null, $privilege=null) | |
Protected Member Functions | |
_isCleanIP ($ip) |
Definition at line 35 of file Ip.php.
assert | ( | Mage_Admin_Model_Acl $ | acl, | |
Mage_Admin_Model_Acl_Role $ | role = null , |
|||
Mage_Admin_Model_Acl_Resource $ | resource = null , |
|||
$ | privilege = null | |||
) |
Check whether ip is allowed
Zend_Acl | $acl | |
Zend_Acl_Role_Interface | $role | |
Zend_Acl_Resource_Interface | $resource | |
string | $privilege |
Definition at line 46 of file Ip.php.
00048 { 00049 return $this->_isCleanIP($_SERVER['REMOTE_ADDR']); 00050 }