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

Class: ListWhereClause

Source Location: /flatfile.php

Class Overview

WhereClause
   |
   --ListWhereClause

WhereClause class to match a value from a list of items


Methods


Inherited Methods

Class: WhereClause

WhereClause::testRow()
Tests a table row object

Class Details

[line 421]
WhereClause class to match a value from a list of items



[ Top ]


Class Methods


constructor ListWhereClause [line 437]

ListWhereClause ListWhereClause( int $field, array $list)

Creates a new ListWhereClause object

The resulting WhereClause will pass rows (return true) if the value of the specified field is in the array.




Parameters:

int   $field   Field to match
array   $list   List of items

[ Top ]

method testRow [line 442]

void testRow( mixed $tablerow)



Overrides WhereClause::testRow() (Tests a table row object)

[ Top ]


Documentation generated on Mon, 7 Mar 2005 23:20:07 +0000 by phpDocumentor 1.3.0RC3