| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. |
| License: | GNU/GPL, see LICENSE.php |
| Version: | $Id: authorization.php 14401 2010-01-26 14:10:00Z louis $ |
| File Size: | 538 lines (19 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
JAuthorization:: (13 methods):
JAuthorization()
addACL()
getCheckMode()
setCheckMode()
acl_check()
get_group_name()
getAroGroup()
_getGroup()
_getBelow()
get_group_children_tree()
is_group_child_of()
get_group_parents()
_mos_add_acl()
Class: JAuthorization - X-Ref
Class that handles all access authorization| JAuthorization($options = NULL) X-Ref |
| Constructor param: array An arry of options to oeverride the class defaults |
| addACL( $aco_section_value, $aco_value, $aro_section_value, $aro_value, $axo_section_value=NULL, $axo_value=NULL, $return_value=NULL ) X-Ref |
| This is a temporary function to allow 3PD's to add basic ACL checks for their modules and components. NOTE: this information will be compiled in the db in future versions param: string The ACO section value param: string The ACO value param: string The ARO section value param: string The ARO section param: string The AXO section value (optional) param: string The AXO section value (optional) param: string The return value for the ACL (optional) |
| getCheckMode() X-Ref |
| Gets the chec mode return: int |
| setCheckMode( $value ) X-Ref |
| Sets the check mode. Only used if the full implementation of the phpGACL library is installed and configured param: int 0 = Joomla!, 1 = phpGACL native return: int The previous value |
| acl_check( $aco_section_value, $aco_value, $aro_section_value, $aro_value, $axo_section_value=NULL, $axo_value=NULL, $root_aro_group=NULL, $root_axo_group=NULL ) X-Ref |
| Wraps the actual acl_query() function. It is simply here to return TRUE/FALSE accordingly. param: string The ACO section value param: string The ACO value param: string The ARO section value param: string The ARO section param: string The AXO section value (optional) param: string The AXO section value (optional) param: integer The group id of the ARO ??Mike?? (optional) param: integer The group id of the AXO ??Mike?? (optional) return: mixed Generally a zero (0) or (1) or the extended return value of the ACL |
| get_group_name($group_id = null, $group_type = 'ARO') X-Ref |
| Gets the 'name' of a group param: int The group id param: string The type: [ARO]|AXO return: string |
| getAroGroup( $value ) X-Ref |
param: string The value for the group return: object The row from the group table |
| _getGroup( $type, $value ) X-Ref |
| No description |
| _getBelow( $table, $fields, $groupby=null, $root_id=null, $root_name=null, $inclusive=true ) X-Ref |
| No description |
| get_group_children_tree( $root_id=null, $root_name=null, $inclusive=true, $html=true ) X-Ref |
param: int param: string param: boolean param: boolean Returns the complete html if true return: string|array String if html, otherwise an array |
| is_group_child_of( $grp_src, $grp_tgt, $group_type='ARO' ) X-Ref |
| No description |
| get_group_parents($group_id, $group_type = 'ARO', $recurse = 'NO_RECURSE') X-Ref |
| No description |
| _mos_add_acl( $aco_section_value, $aco_value, $aro_section_value, $aro_value, $axo_section_value=NULL, $axo_value=NULL, $return_value=NULL ) X-Ref |
| Deprecated, use JAuthorisation::addACL() instead. |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |