INI_ACL Class Reference

Public Member Functions | |
| arrayTrim ($array) | |
| check ($aro, $aco, $acoAction=null) | |
| readConfigFile ($fileName) | |
Public Attributes | |
| $config = null | |
Detailed Description
Definition at line 39 of file ini_acl.php.
Member Function Documentation
| INI_ACL::arrayTrim | ( | $ | array | ) |
Removes trailing spaces on all array elements (to prepare for searching)
- Parameters:
-
array $array Array to trim
- Returns:
- array Trimmed array public
Definition at line 172 of file ini_acl.php.
Referenced by check().
| INI_ACL::check | ( | $ | aro, | |
| $ | aco, | |||
| $ | acoAction = null | |||
| ) |
Main ACL check function. Checks to see if the ARO (access request object) has access to the ACO (access control object). Looks at the acl.ini.php file for permissions (see instructions in/config/acl.ini.php).
- Parameters:
-
string $aro string $aco
- Returns:
- boolean public
Reimplemented from AclBase.
Definition at line 62 of file ini_acl.php.
References allow, arrayTrim(), deny, groups, and readConfigFile().
| INI_ACL::readConfigFile | ( | $ | fileName | ) |
Parses an INI file and returns an array that reflects the INI file's section structure. Double-quote friendly.
- Parameters:
-
string $fileName
- Returns:
- array
Definition at line 129 of file ini_acl.php.
Referenced by check().
Member Data Documentation
| INI_ACL::$config = null |
Definition at line 45 of file ini_acl.php.
The documentation for this class was generated from the following file:
- 1.1.x.x/cake/libs/controller/components/iniacl/ini_acl.php