public function processStatus() { $this->loadObject(true); if (!Validate::isLoadedObject($this->object)) { return false; } if (($error = $this->object->validateFields(false, true)) !== true) { $this->errors[] = $error; } if (($error = $this->object->validateFieldsLang(false, true)) !== true) { $this->errors[] = $error; } if (count($this->errors)) { return false; } $res = parent::processStatus(); return $res; }