gaclphpGACL main class
Class gacl should be used in applications where only querying the phpGACL database is required.
Located in /gacl.class.php (line 50)
| Class | Description |
|---|---|
gacl_api
|
gacl_api Extended API Class |
boolean
acl_check
(string $aco_section_value, string $aco_value, string $aro_section_value, string $aro_value, [string $axo_section_value =
NULL], [string $axo_value = NULL], [integer $root_aro_group = NULL], [integer $root_axo_group = NULL])
void
acl_get_groups
(string $section_value, string $value, [integer $root_group = NULL], [string $group_type = 'ARO'])
array
acl_query
(string $aco_section_value, string $aco_value, string $aro_section_value, string $aro_value, [string $axo_section_value =
NULL], [string $axo_value = NULL], [string $root_aro_group = NULL], [string $root_axo_group = NULL], [boolean $debug = NULL])
string
acl_return_value
(string $aco_section_value, string $aco_value, string $aro_section_value, string $aro_value, [string $axo_section_value =
NULL], [string $axo_value = NULL], [integer $root_aro_group = NULL], [integer $root_axo_group = NULL])
mixed
$config_file
= './gacl.ini.php' (line 54)
string
$_cache_dir
= '/tmp/phpgacl_cache' (line 98)
int
$_cache_expire_time
= 600 (line 101)
boolean
$_caching
= FALSE (line 92)
object An
$_db
= '' (line 84)
string
$_db_host
= 'localhost' (line 72)
string
$_db_name
= 'gacl' (line 81)
string
$_db_password
= '' (line 78)
string
$_db_table_prefix
= '' (line 66)
string
$_db_type
= 'mysql' (line 69)
string
$_db_user
= 'root' (line 75)
boolean
$_debug
= FALSE (line 60)
boolean
$_force_cache_expire
= TRUE (line 95)
string
$_group_switch
= '_group_' (line 104)
Constructor gacl (line 110)
Constructor
acl_check (line 219)
Wraps the actual acl_query() function.
It is simply here to return TRUE/FALSE accordingly.
acl_check_array (line 252)
Handles ACL lookups over arrays of AROs
acl_get_groups (line 482)
Grabs all groups mapped to an ARO. You can also specify a root_group for subtree'ing.
acl_query (line 295)
The Main function that does the actual ACL lookup.
acl_return_value (line 239)
Wraps the actual acl_query() function.
Quick access to the return value of an ACL.
debug_db (line 197)
Prints database debug text if debug is enabled.
debug_text (line 183)
Prints debug text if debug is enabled.
get_cache (line 568)
Uses PEAR's Cache_Lite package to grab cached arrays, objects, variables etc...
using unserialize() so it can handle more then just text string.
put_cache (line 587)
Uses PEAR's Cache_Lite package to write cached arrays, objects, variables etc...
using serialize() so it can handle more then just text string.
Documentation generated on Sun, 03 Sep 2006 16:23:42 -0700 by phpDocumentor 1.3.0RC3