This class can be used to implement enumerated types using PHP arrays.
It takes an arrays of strings or numbers to be used as names of the enumerated type entries.
The class can check whether a string or number is one of the possible enumerated values and return the respective enumerated value.
It can also return the number of enumerated values and display those values.
|
|
| Name: |
Simple Enumeration |
| Base name: |
enum |
| Description: |
Implement enumerated types using arrays |
| Version: |
- |
| PHP version: |
3.0 |
| License: |
BSD License |
| All time users: |
1393 users |
| All time rank: |
2458 |
| Week users: |
0 users |
| Week rank: |
2154  |
| |
|
| Not yet rated by the users |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|