0){ $aut = new authority($authority_id); }else{ if(!is_numeric($params['num_object'])) { $params['num_object'] = onto_common_uri::get_id($params['num_object']); } $aut = new authority($authority_id,$params['num_object'],$params['type_object']); $authority_id = $aut->get_id(); } self::$authorities[$authority_type][$authority_id] = $aut; self::$authorities[$authority_type][$aut->get_num_object().'_'.$aut->get_type_object()] = $aut; break; default : return null; } return self::$authorities[$authority_type][$authority_id]; } static private function load_class($classname) { global $base_path,$include_path,$class_path,$javascript_path,$style_path; require_once($class_path."/".$classname.".class.php"); } }