protected function doValidate($columns = null) { if (!$this->alreadyInValidation) { $this->alreadyInValidation = true; $retval = null; $failureMap = array(); if ($this->aTestApplicant !== null) { if (!$this->aTestApplicant->validate($columns)) { $failureMap = array_merge($failureMap, $this->aTestApplicant->getValidationFailures()); } } if ($this->aAcademicCost !== null) { if (!$this->aAcademicCost->validate($columns)) { $failureMap = array_merge($failureMap, $this->aAcademicCost->getValidationFailures()); } } if ($this->aUser !== null) { if (!$this->aUser->validate($columns)) { $failureMap = array_merge($failureMap, $this->aUser->getValidationFailures()); } } if ($this->aAcademicProcess !== null) { if (!$this->aAcademicProcess->validate($columns)) { $failureMap = array_merge($failureMap, $this->aAcademicProcess->getValidationFailures()); } } if ($this->aPaymentModel !== null) { if (!$this->aPaymentModel->validate($columns)) { $failureMap = array_merge($failureMap, $this->aPaymentModel->getValidationFailures()); } } if ($this->aTransactionStatus !== null) { if (!$this->aTransactionStatus->validate($columns)) { $failureMap = array_merge($failureMap, $this->aTransactionStatus->getValidationFailures()); } } if ($this->aJob !== null) { if (!$this->aJob->validate($columns)) { $failureMap = array_merge($failureMap, $this->aJob->getValidationFailures()); } } if ($this->aAcademicCostComponent !== null) { if (!$this->aAcademicCostComponent->validate($columns)) { $failureMap = array_merge($failureMap, $this->aAcademicCostComponent->getValidationFailures()); } } if ($this->aAcademicCalendar !== null) { if (!$this->aAcademicCalendar->validate($columns)) { $failureMap = array_merge($failureMap, $this->aAcademicCalendar->getValidationFailures()); } } if (($retval = VAppPaymentPeer::doValidate($this, $columns)) !== true) { $failureMap = array_merge($failureMap, $retval); } $this->alreadyInValidation = false; } return !empty($failureMap) ? $failureMap : true; }