* @copyright Copyright © 2006 Peter Adams * @license http://www.gnu.org/copyleft/gpl.html GPL v2.0 * @category owa * @package owa * @version $Revision$ * @since owa 1.0.0 */ class owa_mw extends owa_client { function __construct($config = null) { return parent::__construct($config); } function owa_mw($config = null) { return owa_mw::__construct($config); } /** * OWA Singleton Method * * Makes a singleton instance of OWA using the config array */ function singleton($config = null) { static $owa; if(!empty($owa)) { return $owa; } else { $owa = new owa_mw($config); return $owa; } } } ?>