protected function beforeSaveCheck() { parent::beforeSaveCheck(); Gpf_Plugins_Engine::extensionPoint('PostAffiliate.CommissionType.beforeSaveCheck', $this); }
protected function beforeSaveCheck() { parent::beforeSaveCheck(); if (!$this->isStatusValid()) { throw new Gpf_Exception('User status is invalid.'); } }