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



[ Top ]


Class Methods


constructor ListWhereClause [line 505]

ListWhereClause ListWhereClause( int $field, array $list, [string $compare_type = STRING_COMPARISON])

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
string   $compare_type   Comparison type, string by default.

[ Top ]

method testRow [line 511]

void testRow( mixed $tablerow)



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

[ Top ]


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