Class miSqlFilter

Description

Abstract base sql filter class

  • copyright: Copyright (c) 2006 Mirchev Ideas Ltd. All rights reserved.
  • abstract:

Located in /model/SqlFilters.php (line 20)


	
			
Direct descendents
Class Description
miSqlFilterOneValue Abstract filter class for filters with one parametized value
miSqlFilterCustom Sql filter with custom SQL code
Variable Summary
mixed $_name
Method Summary
miSqlFilter __construct (string $name)
string getName ()
string getSql ()
array getSqlFields ()
Variables
mixed $_name (line 24)

The filter name

  • access: protected
Methods
Constructor __construct (line 31)

Creates miSqlFilter object

  • access: public
miSqlFilter __construct (string $name)
  • string $name

Redefined in descendants as:
getName (line 41)

Returns the name of the filter

  • access: public
string getName ()
getSql (line 66)

Returns the sql for the filter Return empty string if the filter doesn't want to add filter clause Abstract method

  • return: the sql code for the filter
  • abstract:
  • access: public
string getSql ()

Redefined in descendants as:
getSqlFields (line 53)

Returns the sql field names Used by miSqlRecordset to validate the fields are valid

  • return: the field names
  • access: public
array getSqlFields ()

Documentation generated on Thu, 08 May 2008 16:57:33 +0300 by phpDocumentor 1.4.1