PHP Class tad\WPBrowser\Iterators\Filters\MainStatementQueriesFilter

Inheritance: extends FilterIterator
Afficher le fichier Open project: lucatume/wp-browser

Méthodes publiques

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

Private Methods

Méthode Description
isRegex ( $statement )

Method Details

__construct() public méthode

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

accept() public méthode

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