public getFtsMappings ( $ftscfg ) | ||
$ftscfg | The config's name that use the parser |
function getFtsMappings($ftscfg)
{
$cfg = $this->getFtsConfigurationByName($ftscfg);
$sql = "SELECT alias AS name, description\n\t\t\tFROM pg_catalog.ts_token_type({$cfg->fields['parser_id']})\n\t\t\tORDER BY name";
return $this->selectSet($sql);
}