__construct() __construct(resource $db) Constructor. Retrieves the data and initializes the variables. Parameters resource $db Connection to the database.
parse_filters() parse_filters() Parses the request looking for the selected filters, validates them and adds them to the $filters array. Must be overriden in the page classes.
build_query() build_query() : string Builds the query to the run table using the selected or default filters. Returns string — The query to be executed.