Example #1
0
 /**
  * Returns result status
  * Within the core and events should be called with internalCall flag
  *
  * @param bool $internalCall
  *
  * @return bool
  */
 public function isSuccess($internalCall = false)
 {
     if (!$internalCall && !$this->wereErrorsChecked) {
         $this->wereErrorsChecked = true;
     }
     return parent::isSuccess();
 }