Beispiel #1
0
 /**
  * Application form constructor.
  */
 public function __construct(IComponentContainer $parent = NULL, $name = NULL)
 {
     parent::__construct($parent, $name);
     Rules::$defaultMessages = array(self::MIN_LENGTH => 'Minimum length of %label is %d chars!', self::MAX_LENGTH => 'Maximum length of %label is %d chars!', self::FILLED => 'Enter %label!', self::EMAIL => 'Enter valid email address!');
 }