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: 736 All time: 4,524 This week: 339Up
Version License Categories
1.0Unspecified (ask ...Utilities and 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: 59378 in United States United States
Week rank: 483 Up46 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:736
This week:0
All time:4,524
This week:339Up
User Comments (1)
Excellent
13 years ago (kishore kumar)
60%StarStarStarStar