* @copyright 2007 - 2008 (C) by Wrzasq * @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU Lesser General Public License, Version 3 * @tutorial POT/PHP_5.0.pkg */ // OutOfBoundsException class for 5.0.x if( !class_exists('OutOfBoundsException') ) { /** * @ignore * @version 0.1.0 * @since 0.1.0 */ class OutOfBoundsException extends Exception { } } // LogicException class for 5.0.x if( !class_exists('LogicException') ) { /** * @ignore * @version 0.1.2 * @since 0.1.2 */ class LogicException extends Exception { } } // Countable for PHP 5.0.x if( !interface_exists('Countable') ) { /** * @ignore */ interface Countable { public function count(); } } // spl_autoload_register() walkaround if( !function_exists('spl_autoload_register') ) { /** * @ignore */ function spl_autoload_register($callback) { if( !function_exists('__autoload') ) { /** * @ignore */ function __autoload($class) { POT::getInstance()->loadClass($class); } } } } /**#@-*/ ?>