public
|
#
init( string $gpg, integer $temp_dir = null, integer $rows = null, mixed $cols = null )
The initialisation function for the text variable type.
The initialisation function for the text variable type.
Parameters
- $gpg
- <p>$regex Any valid PHP PCRE pattern syntax that
needs to be matched for the field to be
considered valid. If left empty validity
will be checked only for required fields
whether they are empty or not.
If using this regex test it is advisable
to enter a description for this field to
warn the user what is expected, as the
generated error message is quite generic
and will not give any indication where
the regex failed.</p>
- $temp_dir
- $size The size of the input field.
- $rows
- $maxlength The max number of characters.
- $cols
-
Overrides
|