- Moved all form validation to it's own function in schedule service
- Moved show creation to it's own function in schedule service
This commit is contained in:
parent
bdab294fce
commit
99c07272fd
8 changed files with 167 additions and 34 deletions
|
@ -40,6 +40,14 @@ class Application_Form_AddShowAbsoluteRebroadcastDates extends Zend_Form_SubForm
|
|||
}
|
||||
}
|
||||
|
||||
public function isValid($formData) {
|
||||
if (parent::isValid($formData)) {
|
||||
return $this->checkReliantFields($formData);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public function checkReliantFields($formData)
|
||||
{
|
||||
$noError = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue