Public Member Functions |
| show_by_member ($member_id=NULL) |
| Shows all allowed subnets of member.
|
| add ($member_id=NULL) |
| Adds new allowed subnet to member.
|
| delete ($allowed_subnet_id=NULL) |
| Deletes subnet from allowed subnets of member.
|
| change ($allowed_subnet_id=NULL) |
| Toggle state of allowed subnet of member (from disable to enabled and from enabled to disable)
|
| __construct () |
| Contruct of controller, creates singleton or return it.
|
| is_user_in_group ($aro_group_id, $aro_id) |
| Checks if user is in ARO group.
|
| acl_check_view ($axo_section, $axo_value, $member_id=NULL, $force_own=FALSE) |
| Fuction checks access rights Return true if currently logged user (stored in $_SESSION['user_id']) may view own $axo_value object in $axo_section (and in variable $member_id is his own id of member) or if currently logged user may view all $axo_value object in $axo_section else return false.
|
| acl_check_edit ($axo_section, $axo_value, $member_id=NULL, $force_own=FALSE) |
| Fuction checks access rights Return true if currently logged user (stored in $_SESSION['user_id']) may view own $axo_value object in $axo_section (and in variable $member_id is his own id of member) or if currently logged user may edit all $axo_value object in $axo_section else return false.
|
| acl_check_new ($axo_section, $axo_value, $member_id=NULL, $force_own=FALSE) |
| Fuction checks access rights Return true if currently logged user (stored in $_SESSION['user_id']) may view own $axo_value object in $axo_section (and in variable $member_id is his own id of member) or if currently logged user may add all $axo_value object in $axo_section else return false.
|
| acl_check_delete ($axo_section, $axo_value, $member_id=NULL, $force_own=FALSE) |
| Fuction checks access rights Return true if currently logged user (stored in $_SESSION['user_id']) may view own $axo_value object in $axo_section (and in variable $member_id is his own id of member) or if currently logged user may delete all $axo_value object in $axo_section else return false.
|
| build_menu () |
| Build menu.
|
| url () |
| Return URL for controller and method.
|
| redirect ($uri=NULL, $id=NULL, $glue= '/') |
| Redirects to uri according to attribute noredirect.
|
Static Public Member Functions |
static | update_enabled ($member_id, $to_enable=array(), $to_disable=array(), $to_remove=array(), $thow_ex_on_error=FALSE) |
| Updates states of allowed subnets of member.
|
static & | instance () |
| Singleton instance of Controller.
|
static | error ($message_type, $content=NULL) |
| Function shows error of given message number.
|
static | warning ($message_type, $content=NULL) |
| Function shows warning of given message number.
|