Login   Register  
PHP Classes

Constant Array 2: Enhanced declaration of array values as constants

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

  Author Author  
Picture of Ville Walveranta
Name: Ville Walveranta <e-mail contact>
Packages: 1 Browse all classes by Ville Walveranta Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 44
All time rank: 3563430 in United States United States
Week rank: 1972 Up210 in United States United States Up

  Detailed description   Download Download .zip .tar.gz  
This class can be used for declaration of array values as constants.

This class was inspired by a similarly named ("Constant Array") class written by Sourav Ray.

This class has at this point been refactored and augmented to the degree that little of the inspiring class remains beyond the concept.

This class provides the following features and enhancements as compared to Sourav Ray's original code:

- Returns booleans for non-associative array values when given (optional)
- Returns values for associative array keys when given (optional)
- Code added to validate individual keys and to retrieve values by individual keys
- Eliminates use of eval() for security and speed
- Fixes Exception handling
- Code has been reformatted

** See the class phpDoc Block for further details!

  Classes of Ville Walveranta  >  Constant Array 2  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Constant Array 2
Base name: array-constant
Description: Enhanced declaration of array values as constants
Version: 2.0.5
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 187 users
All time rank: 7132
Week users: 0 users
Week rank: 2192 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes

  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 ArrConst.class.php Class ArrConst class

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