/** * Called after the check that all required registry values * have been set correctly has run. * * @return void */ public function afterRegistry() { parent::afterRegistry(); if (!$this->saveData) { throw new \Zend_Exception("No data to save specified while using " . __CLASS__); } if ($this->buttonClass) { if (!$this->buttonNoClass) { $this->buttonNoClass = $this->buttonClass; } if (!$this->buttonYesClass) { $this->buttonYesClass = $this->buttonClass; } } }
/** * Called after the check that all required registry values * have been set correctly has run. * * @return void */ public function afterRegistry() { parent::afterRegistry(); if ($this->buttonClass) { if (!$this->buttonNoClass) { $this->buttonNoClass = $this->buttonClass; } if (!$this->buttonYesClass) { $this->buttonYesClass = $this->buttonClass; } } }