Umfragen
|
class for checking a text widget's input against a regexp More...
Public Member Functions | |
make_err ($name) | |
get the error message with name substitute | |
test ($str) | |
test for matches in a string | |
__toString () |
Data Fields | |
$desc_tiny = "" | |
description in the textExt edit table | |
$desc_short = "" | |
description for the normal text edit drop down | |
$desc_long = "" | |
description in the widget when displayed | |
$err_msg = "" | |
error message to show {name} wille be replaced with the widget name | |
$exp = "" | |
PCRE regular expression. | |
$id = "" | |
unique identifier like a name |
class for checking a text widget's input against a regexp
Definition at line 7 of file text.class.php.
__toString | ( | ) |
Definition at line 43 of file text.class.php.
make_err | ( | $name | ) |
get the error message with name substitute
string | $name | the name we want insert in the prepared string of the error message |
Definition at line 20 of file text.class.php.
test | ( | $str | ) |
test for matches in a string
string | $str | the string we want to filter |
Definition at line 29 of file text.class.php.
$desc_long = "" |
description in the widget when displayed
Definition at line 10 of file text.class.php.
$desc_short = "" |
description for the normal text edit drop down
Definition at line 9 of file text.class.php.
$desc_tiny = "" |
description in the textExt edit table
Definition at line 8 of file text.class.php.
$err_msg = "" |
error message to show {name} wille be replaced with the widget name
Definition at line 11 of file text.class.php.
$exp = "" |
PCRE regular expression.
Definition at line 12 of file text.class.php.
$id = "" |
unique identifier like a name
Definition at line 13 of file text.class.php.