Location: PHPKode > scripts > PAX > pax/core/classes/PAXObject.class.php
<?php

/**
 * Page DocBlock definition
 * @package org.zadara.marius.pax
 */

/**
 * General PAX Object.
 * It will be extended by any other class.
 * 
 * @author Marius Zadara <hide@address.com>
 * @category Classes
 * @copyright (C) 2008-2009 Marius Zadara
 * @license Free for non-comercial use
 * @package org.zadara.marius.pax
 * @abstract 
 * @version 6.0
 * @since 6.0
 * @see IPAXObject
 */
abstract class PAXObject implements IPAXObject
{
	/**
	 * General class constructor
	 * @access public
	 */
	public function __construct()
	{
		// nothing special to do at this moment
	}

	/**
	 * General class destructor.
	 * This method needs to be implemented by every child.
	 * 
	 * @abstract 
	 * @access public
	 */
	abstract function __destruct();

	/**
	 * Alias method for __destruct().
	 *
	 * @access public
	 * @final 
	 */
	public final function destroy()
	{
		// call the real method
		$this->__destruct(); 
	}
}

?>
Return current item: PAX