internal package Foswiki::Plugins::JQDataTablesPlugin::Connector

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::Connector

base class for grid connectors used to feed a jqGrid widget

ClassMethod restHandleSave($request, $response)

this is called by the gridconnector REST handler based on the "oper" url parameter as provided by the GRID widget.

ClassMethod buildQuery($request) → $string

creates a query based on the current request

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

perform the actual search and fetch result

ClassMethod restHandleSearch($request, $response)

this is called by the connector REST handler based on the "oper" url parameter as provided by the Datatables widget.

ClassMethod column2Property( $columnName ) → $propertyName

maps a column name to the actual property in the store.

ClassMethod getColumnsFromRequest( $request ) → @cols

read the request params and collect the column descriptions as transmitted by the Datatables client

StaticMethod urlDecode( $text ) → $text

from Fowiki.pm

ClassMethod translate($string, $web, $topic) → $string

translate string to user's current language

Topic revision: r1 - 02 Mar 2020, UnknownUser
© 2020 Ultranauts - 75 Broad Street, 2nd Floor, Suite 206, New York, NY 10004 - info@ultranauts.co