public static function insertLinkRecord($key, $value, $isfirst=null) { if ((!$key) || (!$value)) return; if ($isfirst) { self::$data = array_merge(array(array("id"=>$key, "value" => $value)), self::$data); } else { self::$data[] = array("id"=>$key, "value" => $value); } }