| Recommend this page to a friend! |
| Classes of Ellery Leung | > | Simple Enumeration | > | Download .tar.gz .zip | > | > | > | |||||
|
| |||||||||||||||||||||||||||||||||||||||||||
| Detailed description | ||
| 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. |
| Groups | ||
| Data types | Modeling and manipulating data types | View top rated classes |
| Applications | ||||||
No application links were specified for this class.
|
|||||||||||||||