public function __construct($allowWhiteSpace = false) { parent::__construct($allowWhiteSpace); $this->_messageTemplates[self::NOT_ALNUM] = trlKwfStatic("'%value%' has not only alphabetic and digit characters"); $this->_messageTemplates[self::STRING_EMPTY] = trlKwfStatic("'%value%' is an empty string"); }