Public Member Functions |
| count_all_rules ($filter_sql= '') |
| Counts all ACL rules.
|
| get_acos ($acl_id=NULL) |
| Returns all ACO objects belongs to rule.
|
| clean_rule ($acl_id=NULL) |
| Cleans rule - deletes all AROs, ARo groups and AXOs.
|
| get_all_rules ($limit_from=NULL, $limit_results=NULL, $order_by=NULL, $order_by_direction= 'asc', $filter_sql= '') |
| Returns all ACL rules.
|
| get_aro_groups ($acl_id=NULL) |
| Returns all ARO groups belongs to rule.
|
| get_axos ($acl_id=NULL) |
| Returns all AXO objects belongs to rule.
|
| insert_aco ($acos=array(), $acl_id=NULL) |
| Inserts new ACO objects to rule.
|
| insert_aro_groups ($aro_groups=array(), $acl_id=NULL) |
| Inserts new ARO groups to rule.
|
| insert_axo ($axos=array(), $acl_id=NULL) |
| Inserts new AXO objects to rule.
|
Protected Attributes |
| $table_names_plural = FALSE |
Member Function Documentation
Acl_Model::clean_rule |
( |
|
$acl_id = NULL | ) |
|
Cleans rule - deletes all AROs, ARo groups and AXOs.
- Author
- Michal Kliment
- Parameters
-
Acl_Model::count_all_rules |
( |
|
$filter_sql = '' | ) |
|
Counts all ACL rules.
- Author
- Michal Kliment
- Returns
- integer
Acl_Model::get_acos |
( |
|
$acl_id = NULL | ) |
|
Returns all ACO objects belongs to rule.
- Author
- Michal Kliment
- Parameters
-
- Returns
- type
Acl_Model::get_all_rules |
( |
|
$limit_from = NULL , |
|
|
|
$limit_results = NULL , |
|
|
|
$order_by = NULL , |
|
|
|
$order_by_direction = 'asc' , |
|
|
|
$filter_sql = '' |
|
) |
| |
Returns all ACL rules.
- Author
- Michal Kliment
- Parameters
-
integer | $limit_from | |
integer | $limit_results | |
string | $order_by | |
string | $order_by_direction | |
- Returns
- MySQL Result
Acl_Model::get_aro_groups |
( |
|
$acl_id = NULL | ) |
|
Returns all ARO groups belongs to rule.
- Author
- Michal Kliment
- Parameters
-
- Returns
- type
Acl_Model::get_axos |
( |
|
$acl_id = NULL | ) |
|
Returns all AXO objects belongs to rule.
- Author
- Michal Kliment
- Parameters
-
- Returns
- type
Acl_Model::insert_aco |
( |
|
$acos = array() , |
|
|
|
$acl_id = NULL |
|
) |
| |
Inserts new ACO objects to rule.
- Author
- Michal Kliment
- Parameters
-
Acl_Model::insert_aro_groups |
( |
|
$aro_groups = array() , |
|
|
|
$acl_id = NULL |
|
) |
| |
Inserts new ARO groups to rule.
- Author
- Michal Kliment
- Parameters
-
type | $aro_groups | |
type | $acl_id | |
Acl_Model::insert_axo |
( |
|
$axos = array() , |
|
|
|
$acl_id = NULL |
|
) |
| |
Inserts new AXO objects to rule.
- Author
- Michal Kliment
- Parameters
-
The documentation for this class was generated from the following file: