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 356]
WhereClause class to match a value from a list of items



[ Top ]


Class Methods


constructor ListWhereClause [line 374]

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.




Tags:

todo:  allow XXX_COMPARISON to be passed, and implement


Parameters:

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

[ Top ]

method testRow [line 379]

void testRow( mixed $tablerow)



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

[ Top ]


Documentation generated on Mon, 28 Feb 2005 23:04:36 +0000 by phpDocumentor 1.3.0RC3