Yii Advanced Filters Extension
  • Package
  • Class

Packages

  • advancedfilters
    • components
    • dbhelpers
    • filters

Classes

  • AfBaseFilter
  • AfDefaultFilter
  • AfExactFilter
  • AfRangeFilter
  • AfRegexFilter
  • AfSubstringFilter

Class AfSubstringFilter

This filter handles matches of an exact substring.

CComponent
Extended by AfBaseFilter
Extended by AfSubstringFilter
Package: advancedfilters\filters
Author: Keith Burton kburton@kappasoft.net
Located at filters/AfSubstringFilter.php

Methods summary

public boolean
# acceptsFilterExpression( )

Determines whether the provided expression can be processed by this filter class.

Determines whether the provided expression can be processed by this filter class.

Returns

boolean
whether this class can process the expression.
public CDbCriteria
# getCriteria( )

Builds a new CDbCriteria object based on the expression provided.

Builds a new CDbCriteria object based on the expression provided.

Returns

CDbCriteria
the new criteria object.

Methods inherited from AfBaseFilter

__construct(), createFilter(), getColumnExpression(), getDbConnection(), getDbHelper(), getFilterExpression(), getInvertLogic(), stripPrefixSuffixString()

Magic methods summary

Properties summary

public string $prefix

the prefix string to identify substring expressions.

the prefix string to identify substring expressions.

# '#'
public string $suffix

the suffix string to identify substring expressions.

the suffix string to identify substring expressions.

# '#'

Properties inherited from AfBaseFilter

$active, $priority, $treatNullAsEmptyString

Yii Advanced Filters Extension API documentation generated by ApiGen