function processConfigForm(array $values) { if ($this->getPointFieldType() == self::POINT_DATE) { $this->setInterval($values['start'], $values['stop']); $quant = Am_Report_Quant::createById($values['quant'], $this->getPointFieldType()); $this->setQuantity($quant); } }
protected function processConfigForm(array $values) { list($start, $stop) = $this->getStartStop($values); $this->setInterval($start, $stop); $quant = Am_Report_Quant::createById($values['quant'], $this->getPointFieldType()); $this->setQuantity($quant); $this->period = $values['period']; foreach ($values as $k => $v) { if (strpos($k, 'shift_') === 0 && $v) { $this->shift[] = str_replace('shift_', '', $k); } } }
protected function processConfigForm(array $values) { list($start, $stop) = $this->getStartStop($values); $this->setInterval($start, $stop); $quant = Am_Report_Quant::createById($values['quant'], $this->getPointFieldType()); $this->setQuantity($quant); }