public function getCodeMax() { $this->_calc(); $codes = array(); foreach ($this->codes as $code) { if (!is_null($code)) { $codes[] = $code; } } return count($codes) ? max($codes) : null; }
/** * {@inheritDoc} */ public function getCodeMax() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCodeMax', array()); return parent::getCodeMax(); }