Skip to content

Commit d85c3da

Browse files
author
latham
committed
Add some notes, and todo about the validators
1 parent b772162 commit d85c3da

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CODING_NOTES.php.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,9 @@ $app->uses('ini_parser,getconf');
122122
$web_config = $app->getconf->get_server_config($server_id,'web');
123123

124124

125+
//*****************************************************************************
126+
// Learn about the form validators
127+
//*****************************************************************************
128+
There are form validators in interface/lib/classes/tform.inc.php to make validating forms easier.
129+
Read about: REGEX,UNIQUE,NOTEMPTY,ISEMAIL,ISINT,ISPOSITIVE,ISIPV4,CUSTOM
125130

TODO.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
Please feel free to edit this file, add new tasks,
77
remove done tasks or assign yourself to a task.
88

9+
Form Validators
10+
--------------------------------------
11+
ISIPV4 does a manual check, PHP5 now has FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 which may be better.
12+
There also will be a time to add ISIPV6 or ISIPADDR to validate for IPv6 or both
13+
914
Installer
1015
--------------------------------------
1116

0 commit comments

Comments
 (0)