User Tools

Site Tools


Sidebar

Dokumentation

vortex:api:filterdata

FilterData

The FilterData class provides a quick and simple way to create a Filter instance while scripting the Vortex.

Constants

F_AND -

Methods

Code Examples

This example creates a new Filter searching for all posts in MyTable having show=1 and fetches the first 100 rows matching the criteria.

$fd = new FilterData( "MyTable" );
$fd->add( "show", FilterData::EQUALS, 1 );
$trs = $fd->getFilter()->getTableRecords();
vortex/api/filterdata.txt · Last modified: 2019/06/28 06:58 by hubbe