menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TFilter

Description

Provides an interface to define filters to be used inside a criteria

Located in /database/TFilter.php (line 16)

TExpression
   |
   --TFilter
Method Summary
__construct ($variable, $operator, $value, [$value2 = NULL])
dump ([$prepared = FALSE])
Methods
Constructor __construct (line 32)

Class Constructor

  • access: public
__construct ($variable, $operator, $value, [$value2 = NULL])
  • $variable: = variable
  • $operator: = operator (>, <, =, BETWEEN)
  • $value: = value to be compared
  • $value2: = second value to be compared (between)
dump (line 173)

Return the filter as a string expression

  • return: string containing the filter
  • access: public
dump ([$prepared = FALSE])
  • $prepared

Redefinition of:
TExpression::dump()
getPreparedVars (line 164)

Return the prepared vars

  • access: public
getPreparedVars ()

Inherited Methods

Inherited From TExpression

TExpression::dump()
Class Constants