views_autorefresh_handler_argument_base.inc in Views Auto-Refresh 7.2
File
views/views_autorefresh_handler_argument_base.inc
View source
<?php
class views_autorefresh_handler_argument_base extends views_handler_argument {
function construct() {
parent::construct();
$this->operator = '>';
}
function query($group_by = FALSE) {
$this
->ensure_my_table();
$this->query
->add_where_expression(0, "{$this->table_alias}.{$this->real_field} {$this->operator} :base", array(
':base' => $this->argument,
));
}
}