PHP Classes
Icontem

Class: Generic Array


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend!
      Classes of Martin Alterisio  >  Generic 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   Dependencies   Applications   Files Files  
  • Supplied by:

    Picture of Martin Alterisio
    Name: Martin Alterisio <e-mail contact>
    Published packages: 5
    Country: Argentina Argentina - PHP jobs in Argentina
    Home page: http://mundogris.wordpress.com/
    Age: 25
    All time rank: 801
    Week rank: 437

    Browse this author's classes

  • Innovation Award:

    PHP Programming Innovation award nominee
    November 2007
    Number 9
    In PHP arrays may have element values of mixed types. If an application needs to store values of only one specific type, PHP does not stop eventual bugs from storing values of the wrong types in the values.

    This class implements an array interface that checks the types of values before adding them to the array, thus making it possible to early detect eventual application bugs.

    Manuel Lemos
  • 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
  • Detailed description:

    This class can be used to create arrays that allow members of just one type.

    It implements a class loader that gives a special treatment to the creation of objects of classes with the names that start with ArrayOf.

    The class assumes that it is intended to create an object of a generic class that manages an array of objects of a class named after the ArrayOf prefix.

    It generates code for a new generic array handling class based on a generic class template. The generated class uses type hinting to allow only array members of the intended array element class.

    This class can be used with the Type Hint class to allow other types of members besides objects and arrays.
  • User ratings:

    There are not enough user ratings to display for this class.
  • Packages needed by this class:

    Class Dependency Why it is needed
    Type Hint Class
    Recommended
    Nice addition to create arrays of native types (eg: ArrayOfInt)
  • 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:

    File Role Description
    Accessible without login Plain text file example.php Example Example script
    Files folder image cache
      Accessible without login Plain text file MAKE_THIS_DIR_WRITABLE Doc. Make the cache dir writable or face the wrath of uppercase filenames
    Accessible without login Plain text file ArrayOfGenericLoader.php Class Array generic class loader
    Accessible without login Plain text file ArrayOfGenericX.php Class Array generic template
    Accessible without login Plain text file genericarray.lib.php Aux. Library loader script.
    Download all files: genericarray.tar.gz genericarray.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact 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