<?php
require_once('DESTRUCTOR.php');
class MY_CLASS extends DESTRUCTOR
{
function MY_CLASS()
{
// Call parent constructor to reference current class into global array.
parent::DESTRUCTOR();
// All class processing after parent constructor;
}
// Must have __destructor() function to be called by DESTRUCTOR class.
function __destructor()
{
// Finishin routines
}
}
?>