flatfile
[ class tree: flatfile ] [ index: flatfile ] [ all elements ]

Class: WhereClause

Source Location: /flatfile.php

Class Overview


Used to test rows in a database table, like the WHERE clause in an SQL statement.


Author(s):

Methods


Child classes:

NotWhere
Negates a where clause
SimpleWhereClause
Implements a single WHERE clause that does simple comparisons of a field with a value.
LikeWhereClause
Used to test rows in a database table, like the WHERE clause in an SQL statement.
ListWhereClause
WhereClause class to match a value from a list of items
CompositeWhereClause
Abstract class that combines zero or more WhereClause objects together.

Class Details

[line 355]
Used to test rows in a database table, like the WHERE clause in an SQL statement.



Tags:

abstract:  


[ Top ]


Class Methods


method testRow [line 364]

bool testRow( array $row)

Tests a table row object



Tags:

return:  True if the $row passes the WhereClause selection criteria, false otherwise
abstract:  


Overridden in child classes as:

NotWhere::testRow()
SimpleWhereClause::testRow()
LikeWhereClause::testRow()
ListWhereClause::testRow()
OrWhereClause::testRow()
AndWhereClause::testRow()

Parameters:

array   $row   The row to test

[ Top ]


Documentation generated on Thu, 22 Dec 2005 12:59:51 +0000 by phpDocumentor 1.3.0RC3