Login   Register  
PHP Classes
elePHPant
Icontem

PHP One Line Enum: Create enumerated types from arrays of values

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

  Author Author  
Picture of Oliver Anan
Name: Oliver Anan <e-mail contact>
Packages: 2 Browse all classes by Oliver Anan Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 31
All time rank: 2986180 in Germany Germany
Week rank: 2048 Up123 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz  
This class can create enumerated types from arrays of values.

It can generate the code for a class definition with a given name that implements an enumerated types from an array of values.

The generated enumerated classes support namespaces, strict comparison and and bitwise operations.

  Classes of Oliver Anan  >  PHP One Line Enum  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP One Line Enum
Base name: one-line-enum
Description: Create enumerated types from arrays of values
Version: 1.0
PHP version: 5.3
License: GNU Lesser General Public License (LGPL)
All time users: 195 users
All time rank: 7097
Week users: 0 users
Week rank: 2192 Equal
 
  Groups   Freshmeat project   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 Data types Modeling and manipulating data types View top rated classes
Group folder image Code Generation Compilers and tools that generate code automatically View top rated classes


  Freshmeat project  
Project record: php-1-line-enum
Popularity score: 15.94
Vitality score: 33.1

  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
Files folder imageclass (1 directory)
Files folder imageexamples (3 files)
Accessible without login Plain text file autoLoader.inc.php Aux. class autoloader

  Files  /  Files folder image class  
File Role Description
Files folder imageCo3 (1 directory)

  Files  /  class  /  Files folder image Co3  
File Role Description
Files folder imageCodeGen (1 file)

  Files  /  class  /  Co3  /  Files folder image CodeGen  
File Role Description
  Accessible without login Plain text file Enum.php Class main class

  Files  /  Files folder image examples  
File Role Description
  Accessible without login Plain text file enum_advanced.php Example advanced example script
  Accessible without login Plain text file enum_basics.php Example basic example script
  Accessible without login Plain text file enum_example_doc.php Example example how to document enumerations

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