Пример #1
0
 public function __construct()
 {
     $this->first_name = new \PSU\Model\FormText('maxlength=60&required=true');
     $this->mi = new \PSU\Model\FormText('maxlength=60');
     $this->last_name = new \PSU\Model\FormText('maxlength=60&required=true');
     $this->prefix = new \PSU\Model\FormText('maxlength=20');
     $this->suffix = new \PSU\Model\FormText('maxlength=20');
     $this->email = new \PSU\Model\FormText('maxlength=90');
     parent::__construct();
 }
 public function __construct()
 {
     $this->name = new \PSU\Model\FormText('maxlength=60&required=true');
     parent::__construct();
 }
Пример #3
0
 public function __construct($datastore = null, $filemanager = null)
 {
     parent::__construct($datastore, $filemanager);
     $this->_validation_init();
 }