PHP Class tad\WPBrowser\Iterators\Filters\MainStatementQueriesFilter

Inheritance: extends FilterIterator
Datei anzeigen Open project: lucatume/wp-browser

Public Methods

Method Description
__construct ( Iterator $iterator, string $statement = 'SELECT' ) MainStatementQueriesFilter constructor.
accept ( ) : boolean Check whether the current element of the iterator is acceptable

Private Methods

Method Description
isRegex ( $statement )

Method Details

__construct() public method

MainStatementQueriesFilter constructor.
public __construct ( Iterator $iterator, string $statement = 'SELECT' )
$iterator Iterator
$statement string

accept() public method

Check whether the current element of the iterator is acceptable
public accept ( ) : boolean
return boolean true if the current element is acceptable, otherwise false.