Exemplo n.º 1
0
 function getKey($data)
 {
     if ($this->_recordBasedRequest) {
         if ($this->_interval > 0) {
             return intval($data[$this->_name] / $this->_interval) * $this->_interval;
         } else {
             return $data[$this->_name];
         }
     } else {
         return ReportField::getKey($data);
     }
 }