lib/Psc/Form/ValidationPackage.php
public function createValidator(Array $simpleRules = array()) {
    $validator = new Validator();
    
    if (count($simpleRules) > 0) {
      $validator->addSimpleRules($simpleRules);
    }
    return $validator;
  }
public function createValidator(Array $simpleRules = array()) {
    $validator = new Validator();
    
    if (count($simpleRules) > 0) {
      $validator->addSimpleRules($simpleRules);
    }
    return $validator;
  }
public function createValidator ( Array $ simpleRules = array ( ) ) { $ validator = new Validator ( ) ; if ( count ( $ simpleRules ) > 0 ) { $ validator -> addSimpleRules ( $ simpleRules ) ; } return $ validator ; }
Erstellt einen Validator mit den SimpleRules

'field'=>'nes'

$validator->validate('field', $formValue);
Erstellt einen Validator mit den SimpleRules