LimeSurvey API - Master branch

LSDbCriteria extends CDbCriteria
in package

Table of Contents

Methods

compare()  : void
Basic initialiser to the base controller class

Methods

compare()

Basic initialiser to the base controller class

public compare(string $column, mixed $value[, bool $partialMatch = false ][, string $operator = 'AND' ][, bool $escape = true ]) : void
Parameters
$column : string

The name of the column to be searched

$value : mixed

The column value to be compared with

$partialMatch : bool = false

Whether the value should consider partial text match

$operator : string = 'AND'

The operator used to concatenate the new condition with the existing one

$escape : bool = true

Whether the value should be escaped if $partialMatch is true and the value contains characters % or _

Tags
access

public


        
On this page

Search results