Login   Register  
PHP Classes
elePHPant
Icontem

IsSetAnd

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Corey Tisdale
Name: Corey Tisdale <e-mail contact>
Packages: 4 Browse all classes by Corey Tisdale Browse all classes by
Country: United States United States - PHP jobs in United States
Age: ???
All time rank: 921125 in United States United States
Week rank: 2045 Down246 in United States United States Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can be used to assign value depending on array entry conditions.

It can check the value of an array entry and test one of several possible conditions.

The class returns the entry value if condition is satisfied, otherwise it returns NULL.

Currently it supports test conditions to verify if the array entry is set, is equal or different from another value, is a string with certain types of characters, is an array, compare with numeric values, etc..

  Classes of Corey Tisdale  >  IsSetAnd  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: IsSetAnd
Base name: issetand
Description: Assign value depending on array entry conditions
Version: 1.1
PHP version: 5
License: MIT/X Consortium License
All time users: 275 users
All time rank: 6239
Week users: 0 users
Week rank: 2072 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
February 2011
Number 6

Prize: One downloadable e-book of choice by O'Reilly
Web applications often need to test the values of associative arrays, like for instance the GET and POST variables.

This class can simplify the testing of such array entries by performing different types of common tests and returning special values when the tested condition are verified.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file IsSetAnd.php Class The main class file
Accessible without login Plain text file IsSetAndTest.php Example Test of IsSetAnd class, shows example usage

Download all files: issetand.tar.gz issetand.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.