flatfile
[
class tree: flatfile
] [
index: flatfile
] [
all elements
]
Packages:
flatfile
Tutorials/Manuals:
Package-level:
Flatfile Tutorial
Files:
flatfile.php
flatfile_utils.php
Classes:
AndWhereClause
Column
CompositeWhereClause
Flatfile
JoinColumn
LikeWhereClause
ListWhereClause
NotWhere
OrderBy
OrWhereClause
SimpleWhereClause
TableUtils
WhereClause
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
testRow
Child classes:
NotWhere
Negates a where clause
SimpleWhereClause
Implements a single WHERE clause that does simple comparisons of a field with a value.
LikeWhereClause
WhereClause
class to work like a SQL 'LIKE' clause
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 414]
Used to test rows in a database table, like the WHERE clause in an SQL statement.
Tags:
abstract:
[
Top
]
Class Methods
method testRow
[line 424]
bool testRow( array $row, [array $rowSchema = null])
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
array
$rowSchema
An optional array specifying the schema of the table, using the INT_COL, STRING_COL etc constants
[
Top
]
Documentation generated on Sun, 25 Oct 2009 22:30:47 +0000 by
phpDocumentor 1.4.3