PHP Classes

testThis.class.php: This class allows you to test constraints using one line of code.

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 737 This week: 1All time: 4,531 This week: 560Up
Version License Categories
1.0Unspecified (ask ...Tools
Description 

Author

This class allows you to test constraints using one line of code.
This is usefull if you are checking for required conditions at the top of a
page. It hase 2 action levels for a return of false -- 1 displays an
error message (customizable) and kills the execution of the script. 2 returns
a false and displays the error message. There is also an example on how to
create additional methods. For this I chose to implement the file include
directives require() and include().

Picture of BrettsBSD.net
Name: BrettsBSD.net <contact>
Classes: 3 packages by
Country: United States United States
Age: ???
All time rank: 59479 in United States United States
Week rank: 411 Up48 in United States United States Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file test.php ??? Shows implementation and gives info
Accessible without login Plain text file testThis.class.php ??? Main class file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:737
This week:1
All time:4,531
This week:560Up
User Comments (1)
Excellent
14 years ago (kishore kumar)
60%StarStarStarStar