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



[ Top ]


Class Methods


constructor ListWhereClause [line 594]

ListWhereClause ListWhereClause( int $field, array $list, [string $compare_type = DEFAULT_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 600]

void testRow( $tablerow, [ $rowSchema = null])



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

Parameters:

   $tablerow  
   $rowSchema  

[ Top ]


Documentation generated on Sun, 25 Oct 2009 22:30:47 +0000 by phpDocumentor 1.4.3