SproutCMS

This is the code documentation for the SproutCMS project

function getOperator()

Return the operator to use in WHERE clauses, for a given field

Usage

null|string $RefineBar->getOperator ( string $field_name );

Arguments

  1. string $field_name
    Field, e.g. 'first_name'

Return value

  • string
    Operator, e.g. 'CONTAINS'
  • null
    Operator should be auto-detected