Class gacl_api

Description

ensure this file is being included by a parent file

Located in /includes/gacl_api.class.php (line 63)

gacl
   |
   --gacl_api
Variable Summary
Method Summary
 void add_group ( $name, [ $parent_id = 0], [ $group_type = 'ARO'])
 void add_group_object ( $group_id,  $object_section_value,  $object_value, [ $group_type = 'ARO'])
 void add_object ( $section_value,  $name, [ $value = 0], [ $order = 0], [ $hidden = 0], [ $object_type = NULL])
 void count_all ([ $arg = NULL])
 void del_group ( $group_id, [ $reparent_children = TRUE], [ $group_type = 'ARO'])
 void del_group_object ( $group_id,  $object_section_value,  $object_value, [ $group_type = 'ARO'])
 void del_object ( $object_id, [ $object_type = NULL], [ $erase = FALSE])
 void edit_object ( $object_id,  $section_value,  $name, [ $value = 0], [ $order = 0], [ $hidden = 0], [ $object_type = NULL])
 void getAroGroup ( $value)
 void get_group_children ( $group_id, [ $group_type = 'ARO'], [ $recurse = 'NO_RECURSE'])
 void get_group_children_tree ([ $root_id = null], [ $root_name = null], [ $inclusive = true])
 void get_group_id ([ $name = null], [ $group_type = 'ARO'])
 void get_group_name ([ $group_id = null], [ $group_type = 'ARO'])
 void get_group_objects ( $group_id, [ $group_type = 'ARO'], [ $option = 'NO_RECURSE'])
 void get_group_parents ( $group_id, [ $group_type = 'ARO'], [ $recurse = 'NO_RECURSE'])
 void get_object ([ $section_value = null], [ $return_hidden = 1], [ $object_type = NULL])
 void get_object_groups ( $object_section_value,  $object_value, [ $object_type = NULL])
 void get_object_id ( $section_value,  $value, [ $object_type = NULL])
 void get_paging_data ( $rs)
 void is_group_child_of ( $grp_src,  $grp_tgt, [ $group_type = 'ARO'])
 void return_page ([ $url = ""])
 void showarray ( $array)
 void _getAbove ()
 void _getBelow ( $table,  $fields, [ $groupby = null], [ $root_id = null], [ $root_name = null], [ $inclusive = true])
 void _getGroup ( $type,  $value)
Variables
mixed $_items_per_page = 100 (line 67)
mixed $_max_search_return_items = 100 (line 69)
mixed $_max_select_box_items = 100 (line 68)

Inherited Variables

Inherited from gacl

gacl::$acl
gacl::$acl_count
gacl::$db
gacl::$_caching
gacl::$_db_table_prefix
gacl::$_debug
gacl::$_force_cache_expire
Methods
add_group (line 467)

REMOVED *

void add_group ( $name, [ $parent_id = 0], [ $group_type = 'ARO'])
  • $name
  • $parent_id
  • $group_type
add_group_object (line 650)
void add_group_object ( $group_id,  $object_section_value,  $object_value, [ $group_type = 'ARO'])
  • $group_id
  • $object_section_value
  • $object_value
  • $group_type
add_object (line 1231)
void add_object ( $section_value,  $name, [ $value = 0], [ $order = 0], [ $hidden = 0], [ $object_type = NULL])
  • $section_value
  • $name
  • $value
  • $order
  • $hidden
  • $object_type
count_all (line 131)
void count_all ([ $arg = NULL])
  • $arg
del_group (line 788)
void del_group ( $group_id, [ $reparent_children = TRUE], [ $group_type = 'ARO'])
  • $group_id
  • $reparent_children
  • $group_type
del_group_object (line 728)
void del_group_object ( $group_id,  $object_section_value,  $object_value, [ $group_type = 'ARO'])
  • $group_id
  • $object_section_value
  • $object_value
  • $group_type
del_object (line 1416)
void del_object ( $object_id, [ $object_type = NULL], [ $erase = FALSE])
  • $object_id
  • $object_type
  • $erase
edit_object (line 1323)
void edit_object ( $object_id,  $section_value,  $name, [ $value = 0], [ $order = 0], [ $hidden = 0], [ $object_type = NULL])
  • $object_id
  • $section_value
  • $name
  • $value
  • $order
  • $hidden
  • $object_type
getAroGroup (line 1687)
void getAroGroup ( $value)
  • $value
get_group_children (line 329)
void get_group_children ( $group_id, [ $group_type = 'ARO'], [ $recurse = 'NO_RECURSE'])
  • $group_id
  • $group_type
  • $recurse
get_group_children_tree (line 1742)
void get_group_children_tree ([ $root_id = null], [ $root_name = null], [ $inclusive = true])
  • $root_id
  • $root_name
  • $inclusive
get_group_id (line 228)
void get_group_id ([ $name = null], [ $group_type = 'ARO'])
  • $name
  • $group_type
get_group_name (line 279)
void get_group_name ([ $group_id = null], [ $group_type = 'ARO'])
  • $group_id
  • $group_type
get_group_objects (line 583)
void get_group_objects ( $group_id, [ $group_type = 'ARO'], [ $option = 'NO_RECURSE'])
  • $group_id
  • $group_type
  • $option
get_group_parents (line 385)
void get_group_parents ( $group_id, [ $group_type = 'ARO'], [ $recurse = 'NO_RECURSE'])
  • $group_id
  • $group_type
  • $recurse
get_object (line 1030)
void get_object ([ $section_value = null], [ $return_hidden = 1], [ $object_type = NULL])
  • $section_value
  • $return_hidden
  • $object_type
get_object_groups (line 1095)
void get_object_groups ( $object_section_value,  $object_value, [ $object_type = NULL])
  • $object_section_value
  • $object_value
  • $object_type
get_object_id (line 1153)
void get_object_id ( $section_value,  $value, [ $object_type = NULL])
  • $section_value
  • $value
  • $object_type
get_paging_data (line 112)
void get_paging_data ( $rs)
  • $rs
is_group_child_of (line 1646)
void is_group_child_of ( $grp_src,  $grp_tgt, [ $group_type = 'ARO'])
  • $grp_src
  • $grp_tgt
  • $group_type
return_page (line 92)
void return_page ([ $url = ""])
  • $url
showarray (line 81)
void showarray ( $array)
  • $array
_getAbove (line 1705)
void _getAbove ()
_getBelow (line 1708)
void _getBelow ( $table,  $fields, [ $groupby = null], [ $root_id = null], [ $root_name = null], [ $inclusive = true])
  • $table
  • $fields
  • $groupby
  • $root_id
  • $root_name
  • $inclusive
_getGroup (line 1691)
void _getGroup ( $type,  $value)
  • $type
  • $value

Inherited Methods

Inherited From gacl

 gacl::gacl()
 gacl::acl_check()
 gacl::debug_db()
 gacl::debug_text()
 gacl::_mos_add_acl()

Documentation generated on Mon, 05 May 2008 16:19:56 +0400 by phpDocumentor 1.4.0