/** * @param bool $load_all * @return nc_search_provider_index_dictionary */ public static function get_instance($load_all = false) { if (!isset(self::$instance)) { self::$instance = new self(); } if ($load_all) { self::$instance->load_all(); } return self::$instance; }