auth = $auth; } /** * Get an array of disallowed forums * * @param bool $disallow_access Whether the array for disallowing access * should be filled */ public function get_disallowed_forums($disallow_access) { if ($disallow_access == true) { $disallow_access = array_unique(array_keys($this->auth->acl_getf('!f_read', true))); } else { $disallow_access = array(); } return $disallow_access; } /** * Generate select box * * @param string $key Key of select box * @param array $select_ary Array of select box options * @param array $selected_options Array of selected options * @param string $select_key Key inside select box options * that holds the option value * @return string HTML code of select box * @access public */ public function generate_select_box($key, $select_ary, $selected_options) { // Build options $options = ''; return $options; } }