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

This topic: System > Category > DeveloperDocumentationCategory > PerlDoc
Topic revision: 03 Feb 2016, 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 DAMASK? Send feedback