gacl
phpGACL main class
Class gacl should be used in applications where only querying the phpGACL database is required.
Located in /phpgacl/gacl.php (line 51)
gacl
Class | Description |
---|---|
gacl_api | gacl_api Extended API Class |
Joomla usage
Constructor
- array $options: An arry of options to oeverride the class defaults
Wraps the actual acl_query() function.
It is simply here to return TRUE/FALSE accordingly.
- string $aco_section_value: The ACO section value
- string $aco_value: The ACO value
- string $aro_section_value: The ARO section value
- string $aro_value: The ARO section
- string $axo_section_value: The AXO section value (optional)
- string $axo_value: The AXO section value (optional)
- integer $root_aro_group: The group id of the ARO ??Mike?? (optional)
- integer $root_axo_group: The group id of the AXO ??Mike?? (optional)
- JAuthorization::acl_check() : Wraps the actual acl_query() function.
Handles ACL lookups over arrays of AROs
- string $aco_section_value: The ACO section value
- string $aco_value: The ACO value
- array $aro_array: An named array of arrays, each element in the format aro_section_value=>array(aro_value1,aro_value1,...)
Grabs all groups mapped to an ARO. You can also specify a root_group for subtree'ing.
- string $section_value: The section value or the ARO or ACO
- string $value: The value of the ARO or ACO
- integer $root_group: The group id of the group to start at (optional)
- string $group_type: The type of group, either ARO or AXO (optional)
The Main function that does the actual ACL lookup.
- string $aco_section_value: The ACO section value
- string $aco_value: The ACO value
- string $aro_section_value: The ARO section value
- string $aro_value: The ARO section
- string $axo_section_value: The AXO section value (optional)
- string $axo_value: The AXO section value (optional)
- string $root_aro_group: The value of the ARO group (optional)
- string $root_axo_group: The value of the AXO group (optional)
- boolean $debug: Debug the operation if true (optional)
Wraps the actual acl_query() function.
Quick access to the return value of an ACL.
- string $aco_section_value: The ACO section value
- string $aco_value: The ACO value
- string $aro_section_value: The ARO section value
- string $aro_value: The ARO section
- string $axo_section_value: The AXO section value (optional)
- string $axo_value: The AXO section value (optional)
- integer $root_aro_group: The group id of the ARO (optional)
- integer $root_axo_group: The group id of the AXO (optional)
Prints database debug text if debug is enabled.
- string $function_name: The name of the function calling this method
Prints debug text if debug is enabled.
- string $text: THe text to output
Uses PEAR's Cache_Lite package to grab cached arrays, objects, variables etc...
using unserialize() so it can handle more then just text string.
- string $cache_id: The id of the cached object
Uses PEAR's Cache_Lite package to write cached arrays, objects, variables etc...
using serialize() so it can handle more then just text string.
- mixed $data: A variable to cache
- string $cache_id: The id of the cached variable
Documentation generated on Mon, 05 Mar 2007 21:02:25 +0000 by phpDocumentor 1.3.1