PHP Classes
Icontem

Class: Destructor


  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 Bryan Smith  >  Destructor  >  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   Freshmeat project  
  Rate classes User ratings   Dependents   Applications   Files Files  
  • Supplied by:

    Picture of Bryan Smith
    Name: Bryan Smith <e-mail contact>
    Published packages: 3
    Country: Canada Canada - PHP jobs in Canada
    Home page: http://www.frymybacon.com/
    Age: 30
    All time rank: 880
    Week rank: 1269

    Browse this author's classes

  • Innovation Award:

    PHP Programming Innovation award nominee
    November 2005
    Number 8
    When an object of a class is destroyed, sometimes is necessary to execute maintenance tasks, like for instance freeing resources allocated during the object life time. Usually this is done using destructor functions. However, class destructor functions are not supported under PHP 4.

    This class provides an alternative solution that consists on registering a shutdown function that assures that the class destructor function is always called until the end of the current script.

    Manuel Lemos
  • Groups:

    Group folder image Language Constructs to assist in the language control View top rated classes
  • Detailed description:

    This class can be used to implement class destructor functionality in a way that it works under PHP 4.

    It works as a base class that keeps track of all objects that are created by its subclasses.

    If a PHP script attempts to exit before an object is destroyed, a shutdown function is called to explicitly destroy any pending objects.
  • Freshmeat project:

    Project record: destructor
    Popularity score: 66.39 (0.11%)
    Popularity rank: 34,436 (PHP Classes: 257)
    Vitality score: 1.00 (0.00%)
    Rating: 8.47 (Votes: 1) Please rate this class in Freshmeat
  • User ratings:

    Ratings
    Utility
    Consistency
    Documentation
    Examples
    Tests
    Videos
    Overall
    Rank
    All time:
    Sufficient (75.0%)
    Sufficient (66.7%)
    -
    Sufficient (66.7%)
    -
    -
    Not sure (50.8%)
    1118
    Month:
    Not yet rated by the users
  • Packages that need this class:

    Class Dependency Why it is needed
    MySQL Database
    Required
    Cleanup of database 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:

    File Role Description
    Accessible without login Plain text file DESTRUCTOR.php Class DESTRUCTOR Class
    Plain text file Sample.php Example How to use DESTRUCTOR class.
    Download all files: destructor.tar.gz destructor.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