Ejemplo n.º 1
0
 protected function entryPoint($dataContainer)
 {
     parent::entryPoint($dataContainer);
 }
Ejemplo n.º 2
0
 protected function entryPoint($dataContainer)
 {
     parent::entryPoint($dataContainer);
     $this->_delimiter = ';';
     $this->_gumpRules = array('forename' => array('required||min_len,,2||max_len,,64', '', 'forename'), 'name' => array('required||min_len,,2||max_len,,64', '', 'name'), 'birthday' => array('min_len,,0||max_len,,10', '', 'birthday'), 'grade' => array('required||min_len,,2||max_len,,24||regex,,' . '/^\\d{1,2}-[^\\d-]{1,21}$|^\\d{1,2}[^\\d-]{1,21}$|^\\d{1,5}$/', '', 'grade'));
 }