CSV Search
delimiterToSign

Send comments on this topic.
converts delimiter word to sign

Contents

delimiterToWord

public static function delimiterToWord($delimiter) {
converts delimiter sign to word

changedOptions

Check POST-Arguments and change Options Restart server if neccessary

checkIfSequenceOfFields

private static function checkIfSequenceOfFields($string) {
checks if given string is a sequence of fields in the csv

checkOptionValueStringValidity

private static function checkOptionValueStringValidity($string) {
checks if string value of option is valid

getOptionsString

public static function getOptionsString() {
function to options build string suitable for the console

clearOptions

public static function clearOptions($onlyForEmptyValues) {
function to unset Options in Session

Parameters

bool $onlyForEmptyValues - False: All Options will be cleared True: Only those with value=""

printData

public static function printData() {
function to print current settings in json format: { "fields": list of fields, "simpleOptions": { "SIMPLEOPTIONNAME1" : [current_value, [list of allowed values]], ... } "shellOptions": { "SHELLOPTIONNAME1": { arg1: current_value, ... }, ... } } Note that SIMPLEOPTIONANE1 and SHELLOPTIONNAME1 are Makefile-variables (example: ENABLE_FUZZY_SEARCH, PARSER_OPTIONS) arg1 is a shell-arguments (example: full-text) in above described format. prefixchar:argument-name:short-version [list_of_allowed_values] can also be "int" or "string"

Created with TwinText