Liste de tous les membres
Fonctions membres publiques
- JAuthorization ($options=NULL)
- addACL ($aco_section_value, $aco_value, $aro_section_value, $aro_value, $axo_section_value=NULL, $axo_value=NULL, $return_value=NULL)
- getCheckMode ()
- setCheckMode ($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)
- get_group_name ($group_id=null, $group_type= 'ARO')
- getAroGroup ($value)
- _getGroup ($type, $value)
- _getBelow ($table, $fields, $groupby=null, $root_id=null, $root_name=null, $inclusive=true)
- get_group_children_tree ($root_id=null, $root_name=null, $inclusive=true, $html=true)
- is_group_child_of ($grp_src, $grp_tgt, $group_type='ARO')
- get_group_parents ($group_id, $group_type= 'ARO', $recurse= 'NO_RECURSE')
- _mos_add_acl ($aco_section_value, $aco_value, $aro_section_value, $aro_value, $axo_section_value=NULL, $axo_value=NULL, $return_value=NULL)
Attributs publics
Documentation des fonctions membres
JAuthorization::_getBelow |
( |
$ |
table, |
|
|
$ |
fields, |
|
|
$ |
groupby = null , |
|
|
$ |
root_id = null , |
|
|
$ |
root_name = null , |
|
|
$ |
inclusive = true |
|
) |
| |
JAuthorization::_getGroup |
( |
$ |
type, |
|
|
$ |
value |
|
) |
| |
JAuthorization::_mos_add_acl |
( |
$ |
aco_section_value, |
|
|
$ |
aco_value, |
|
|
$ |
aro_section_value, |
|
|
$ |
aro_value, |
|
|
$ |
axo_section_value = NULL , |
|
|
$ |
axo_value = NULL , |
|
|
$ |
return_value = NULL |
|
) |
| |
Deprecated, use JAuthorisation::addACL() instead.
- Depuis:
- 1.0
- Obsolète:
- As of version 1.5
- Voir également:
- JAuthorisation::addACL()
JAuthorization::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 |
|
) |
| |
Wraps the actual acl_query() function.
It is simply here to return TRUE/FALSE accordingly.
- Paramètres:
-
string | The ACO section value |
string | The ACO value |
string | The ARO section value |
string | The ARO section |
string | The AXO section value (optional) |
string | The AXO section value (optional) |
integer | The group id of the ARO ??Mike?? (optional) |
integer | The group id of the AXO ??Mike?? (optional) |
- Renvoie:
- mixed Generally a zero (0) or (1) or the extended return value of the ACL
Réimplémentée à partir de gacl.
Références $i.
JAuthorization::addACL |
( |
$ |
aco_section_value, |
|
|
$ |
aco_value, |
|
|
$ |
aro_section_value, |
|
|
$ |
aro_value, |
|
|
$ |
axo_section_value = NULL , |
|
|
$ |
axo_value = NULL , |
|
|
$ |
return_value = NULL |
|
) |
| |
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ètres:
-
string | The ACO section value |
string | The ACO value |
string | The ARO section value |
string | The ARO section |
string | The AXO section value (optional) |
string | The AXO section value (optional) |
string | The return value for the ACL (optional) |
JAuthorization::get_group_children_tree |
( |
$ |
root_id = null , |
|
|
$ |
root_name = null , |
|
|
$ |
inclusive = true , |
|
|
$ |
html = true |
|
) |
| |
JAuthorization::get_group_name |
( |
$ |
group_id = null , |
|
|
$ |
group_type = 'ARO' |
|
) |
| |
Gets the 'name' of a group
- Paramètres:
-
int | The group id |
string | The type: [ARO]|AXO |
- Renvoie:
- string
Références $data.
JAuthorization::get_group_parents |
( |
$ |
group_id, |
|
|
$ |
group_type = 'ARO' , |
|
|
$ |
recurse = 'NO_RECURSE' |
|
) |
| |
JAuthorization::getAroGroup |
( |
$ |
value | ) |
|
- Paramètres:
-
string | The value for the group |
- Renvoie:
- object The row from the group table
JAuthorization::getCheckMode |
( |
| ) |
|
Gets the chec mode
- Renvoie:
- int
JAuthorization::is_group_child_of |
( |
$ |
grp_src, |
|
|
$ |
grp_tgt, |
|
|
$ |
group_type = 'ARO' |
|
) |
| |
JAuthorization::JAuthorization |
( |
$ |
options = NULL | ) |
|
Constructor
- Paramètres:
-
array | An arry of options to oeverride the class defaults |
JAuthorization::setCheckMode |
( |
$ |
value | ) |
|
Sets the check mode.
Only used if the full implementation of the phpGACL library is installed and configured
- Paramètres:
-
- Renvoie:
- int The previous value
Documentation des données membres
JAuthorization::$_checkMode = 0 |
JAuthorization::$acl = null |
JAuthorization::$acl_count = 0 |
La documentation de cette classe a été générée à partir du fichier suivant :