public function get_board_list_allowed_for_current_user() { if (empty(array_key_exists(\k1lib\session\session_plain::get_user_level(), array_flip($this->board_list_allowed_levels)))) { return FALSE; } else { return TRUE; } }
function check_user_level_access() { if (empty($this->user_levels_allowed)) { return TRUE; } else { if (empty(array_key_exists(\k1lib\session\session_plain::get_user_level(), array_flip($this->user_levels_allowed)))) { return FALSE; } else { return TRUE; } } }