views_autorefresh_handler_argument_base.inc in Views Hacks 6
File
views_autorefresh/views_autorefresh_handler_argument_base.incView source
<?php
class views_autorefresh_handler_argument_base extends views_handler_argument {
/**
* Construct the instance
*/
function construct() {
parent::construct();
$this->operator = '>';
}
/**
* Build the query based upon the formula
*/
function query() {
$this
->ensure_my_table();
$this->query
->add_where(0, "{$this->table_alias}.{$this->real_field} {$this->operator} %d", $this->argument);
}
}
Classes
Name | Description |
---|---|
views_autorefresh_handler_argument_base |