Subclassable Translations

Release 1.3 - ...
  • ixs_FormatQueryInfo(jsonstring)

    This translation gets a JSON string to be formatted when the verbose option is set.

    Arguments:

    • jsonstring (string)
      JSON string to be formatted

    Return value

    • string
  • ixs_ShowRating(rating, mul, res)

    Gets a rating image

    Arguments

    • rating (integer)
      The rating value.
      Minimum: 0
      Maximum: undefined
    • mul (float)
      Rating scale (multiplier).
    • res (Locator)
      Root of the site folder to find images in.

    Return value

    • string
  • ixs_ShowFileType(extension)

    Shows a file type image based on the file extension

    Arguments

    • extension (string)
      File extension

    Return value

    • string
  • ixs_FormatSearchResult(dtResults, terms, scale, resFolder)

    Formats the search results datatable.

    Arguments

    Return value

    • string
  • ixs_DidYouMean(term, page, queryxml)

    Formats the 'Did you mean' section

    Arguments

    • term (string)
      Search term.
    • page (Locator)
      Page on which the Smartlet is rendered.
    • queryxml
      Xml of the current search environment

    Return value

    • string
  • ixs_ResultOrder(selected, name, action)

    Forrmats the list of possible result orders.

    Arguments

    • selected (string)
      Current order
    • name (string)
      name of the form element that should post the result order.
    • action (string)
      Identifier for the Smartlet to indentify the action to take

    Return value

    • string
  • ixs_FormatFacetResult(display, dtResults, loc, facet, pageSize, maxRows, selectedKeys, multi)

    Formats the result datatable for a Facet

    Arguments

    • display (string)
      Display mode (show|auto)
    • dtResults
      DataTable with Facet results
    • loc (Locator)
      Page location of the Facet
    • facet (string)
      Facet name
    • pageSize (integer)
      Paging size
    • maxRows
      Maximum number of rows
    • selectedKeys
      Keys of the rows currently selected
    • multi (string)
      Multi mode (single|multiple)
  • ixs_FormatFilterList(filters, id, name, queryxml, loc)

    Formats the list of selected Facet filters.

    Arguments

  • ixs_PersistQuery(mode, property, key, data, loc)

  • ixs_FormatPagingNav(scope, buttonId, current, count, canGoBack, canGoForward)

  • ixs_RenderFormControls(loc, id, name, searchTerm, verbose, options, searchWithin, searchProfile, filters, searchExpression, queryxml, helpItem)

    Renders the Search Form controls as HTML

    Arguments

    • loc (locator)
      Page Location
    • id (string)
      Smartlet id
    • name (string)
      Smartlet name
    • searchTerm (string)
      Search term
    • verbose (integer)
      Level of verbosity
    • options (string)
      Comma-delimited string holding a list of search options.
    • searchWithin (integer)
    • searchProfile
    • filters
    • searchExpression
    • queryxml
    • helpItem

     

  • ixs_RenderForm(loc, name, htmlControls, htmlFilters, htmlNav, htmlResult, htmlQueryInfo)

  • ixs_FormatResultText(searchTerm, firstResult, lastResult, totalCount)

  • ixs_FormatResultHeader(id, name, rowCount, userInfo, searchTermText, resultText, pagingSection, resultOrderSection, pageSizeSection)

  • ixs_FormatPageSizeSection(id, pageSize)