internal package Foswiki::Plugins::JQDataTablesPlugin::SearchConnector

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

internal package Foswiki::Plugins::JQDataTablesPlugin::SearchConnector

implements the grid connector interface using Foswiki's standard search mechanism

ClassMethod getColumnDescription($columName, $formDef) → \%desc

helper to sort on the right field

ClassMethod buildQuery() → $query

creates a query based on the current request

ClassMethod getValueOfResult( $meta, $property, $fieldDef ) → $value

get a property of a result document

ClassMethod search( %params ) → ($total, $totalFiltered, $data)

perform the actual search and fetch result

Topic revision: r1 - 2018-02-27, UnknownUser
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding PHAS-History? Send feedback