PHP Developer's Network : Network Member Forums

Class: Constant Array



  Search   All class groups   Latest entries   Top 10 charts   Newsletter   Blog   Forums   Help FAQ  
  Login   Register  
Recommend this page to a friend! Trackback URL: http://www.phpclasses.org/trackback/browse/package/4226.html
      Classes of sourav ray  > 
Constant Array
 >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  
  • Supplied by:

  • Picture of sourav ray
    Name: sourav ray is available for providing paid consulting. Contact sourav ray .
    Published packages: 2
    Country: India India - PHP jobs in India
    Home page: ???
    Age: 28
    All time rank: 1428
    Week rank: 757

    Browse this author's classes

  • Innovation Award:

  • PHP Programming Innovation award nominee
    November 2007
    Number 7
    In PHP you can declare values as constants, however only scalar type values are supported.

    This class provides an alternative solution that can be used to also declare array values as constants.

    Manuel Lemos
  • Groups:

  • Group folder image
    Classes using PHP 5 specific features
    View top rated classes
    Group folder image
    Modeling and manipulating data types
    View top rated classes
  • Detailed description:

  • This class can be used to declare arrays as constants.

    It serializes a given array value to a string and assigns it a given constant.

    The class can also do the opposite, i.e retrieve the original constant array value by unserializing the value assigned to the constant.

    In Version 2.0.0 arrConst got an advance feature of
    accessing the value of a particular element of the Array Constant
    The get method is overloaded for this purpose [;) I know actual overloading is not possible in PHP ]
  • User ratings:

  • There are not enough user ratings to display for this class.
  • Applications that use this class:

  • Link Description
    gaming site, that uses this class
    This site have uses this class extensively to save the user settings as a global constant
    Add link image If you know an application of this package, send a message to the author to add a link here.
  • Files:

  • File Role Description
    Accessible without login Plain text file arrConst.inc.php Class
    arrConst library
    Accessible without login Plain text file example.php Example
    example - please see to it..
    Accessible without login Plain text file license Lic.
    license
    Download all files: arrconst.tar.gz arrconst.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site   Site map   Statistics   Site tips   Privacy policy   Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products