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