Login   Register  
PHP Classes
elePHPant
Icontem

smrtClass: Manage objects with variables of strict types

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-10-17 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 327 All time: 6,447 This week: 1,492Up
Version License PHP version Categories  
smrtclass 1.0The PHP License5.0PHP 5, Data types
Description Author  

This class can manage objects with variables of strict types.

It can dynamically add variables and set them to be of just one type, so when the variable is assigned to a value that is not of the defined type, it will throw an exception.

The class supports values of type integer, boolean, string, object, array, date, time, email and URL. Additionally it can validate text values with regular expressions.

Picture of Mike Stowe
Name: Mike Stowe is available for providing paid consulting. Contact Mike Stowe .
Classes: 5 packages by
Country: United States United States
Age: 29
All time rank: 1699224 in United States United States
Week rank: 1060 Up101 in United States United States Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file smrtClass.php Class smrtClass Source
Accessible without login Plain text file Manual Doc. PHP Manual for smrtClass

 Version Control Unique User Downloads Download Rankings  
 0%Total:327All time:6,447
 This week:0This week:1,492Up
 User Comments (1)  
 
This is a very good and useful class ! lool
3 years ago (Josť Filipe Lopes Santos)
70%StarStarStarStar