public function SchedulerHandlerFieldSchedulerCountdown::scaleFilterCallback in Scheduler 7
Callback function for array_filter.
Keep only the array scale values which are smaller than the countdown value being displayed.
File
- ./
scheduler_handler_field_scheduler_countdown.inc, line 99 - Display scheduled dates in 'countdown' format for use in Views.
Class
- SchedulerHandlerFieldSchedulerCountdown
- Field handler to display a countdown until a scheduled action.
Code
public function scaleFilterCallback($array_value) {
return $this->raw_value >= $array_value;
}