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 |
mixed
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], [integer $root_aro_group = NULL], [integer $root_axo_group = NULL], [boolean $debug = NULL])
mixed
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])
string
$_cache_dir
= '/tmp/phpgacl_cache' (line 93)
int
$_cache_expire_time
= 600 (line 96)
boolean
$_caching
= FALSE (line 87)
object An
$_db
= '' (line 79)
string
$_db_host
= 'localhost' (line 67)
string
$_db_name
= 'gacl' (line 76)
string
$_db_password
= '' (line 73)
string
$_db_table_prefix
= '' (line 61)
string
$_db_type
= 'mysql' (line 64)
string
$_db_user
= 'root' (line 70)
boolean
$_debug
= FALSE (line 55)
boolean
$_force_cache_expire
= TRUE (line 90)
string
$_group_switch
= '_group_' (line 99)
Constructor gacl (line 105)
Constructor
acl_check (line 206)
Wraps the actual acl_query() function.
It is simply here to return TRUE/FALSE accordingly.
acl_check_array (line 239)
Handles ACL lookups over arrays of AROs
acl_get_groups (line 469)
Grabs all groups mapped to an ARO. You can also specify a root_group for subtree'ing.
acl_query (line 282)
The Main function that does the actual ACL lookup.
acl_return_value (line 226)
Wraps the actual acl_query() function.
Quick access to the return value of an ACL.
debug_db (line 184)
Prints database debug text if debug is enabled.
debug_text (line 170)
Prints debug text if debug is enabled.
get_cache (line 555)
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 574)
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 Wed, 8 Dec 2004 21:17:06 -0800 by phpDocumentor 1.3.0RC3