Exemplo n.º 1
0
 /**
  * {@inheritDoc}
  */
 protected function evaluateUpperBound()
 {
     // If we are using time filtering, we have to handle it differently.
     if ($this->dateType == 'time') {
         if ($this->getUpperBound()) {
             return $this->runSimpleQuery($this->isUpperInclusive() ? '<=' : '<', date('H:i:s', $this->getUpperBound()));
         }
         return null;
     }
     return parent::evaluateUpperBound();
 }