RegisterUserForm.class.php 443 Bytes
Newer Older
Яков's avatar
first  
Яков committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

class RegisterUserForm extends BaseRegisterUserForm 
{
  public function configure()
  {
    $this->disableCSRFProtection();
    
    $this->useFields(array('organization', 'username', 'city', 'address', 'phone_number', 'email'));
    
    $this->validatorSchema['email'] = new sfValidatorEmail(array(), array('required' => 'Обязательное поле', 'invalid' => 'Неправильный формат'));
    
    
  }
}

?>