ePages 6.13.1 - DE_EPAGES/FactFinder/API/TLE/FactFinderHandler.pm

Package DE_EPAGES::FactFinder::API::TLE::FactFinderHandler

TLE Handler for FactFinder

Functions

FFFILTERPARAMS
FFLOOPSORTS

FFFILTERPARAMS

Creates filter param string for FactFinder URL

Syntax
#FFFILTERPARAMS(#Filter, #Prefix, #CurrentGroup, #CurrentElement)
Example
<a href="#Pager.URL#IF(#DEFINED(#Filter))&amp;#FUNCTION("FFFILTERPARAMS",#Filter,"Filter_")#ENDIF">Link</a>
Input
$Processor (object)
tle processor
$raParams (ref.array)
parameters of tle function call
#Filter - existing FactFinder filter datastructure - ref.hash
#Prefix - FactFinder prefix. use "Filter_" - string
#CurrentGroup - current filter group - string
#CurrentElement - if existant, add current element to filter,
if not, removes all filters in current group - string
$ctemplate (object)
Return
$FilterParamString (string)
url params for filtering

FFLOOPSORTS

Iterates over a list of sort items from FactFinder

Syntax
#FFLOOPSORTS(#SortList)
Example
#BLOCK("FFLOOPSORTS",#Result.sortsList.SortItem) .. #ENDBLOCK
Input
$Processor (object)
tle processor
$raParams (ref.array)
parameters of tle function call
$SortsList - FactFinder SortsItem datastructure - ref.hash
$ctemplate (object)
Return
$aLOOP