Source for file loader.php
Documentation is available at loader.php
6: * Copyright (c) 2004, 2010 David Grudl (http://davidgrudl.com)
8: * This source file is subject to the "Nette license" that is bundled
9: * with this package in the file license.txt, and/or GPL license.
11: * For more information please see http://nettephp.com
13: * @copyright Copyright (c) 2004, 2010 David Grudl
14: * @license http://nettephp.com/license Nette license
15: * @link http://nettephp.com
23: * Check PHP configuration.
27: throw new Exception('Nette Framework requires PHP 5.2.0 or newer.');
36: * Nette\Callback factory.
37: * @param mixed class, object, function, callback
38: * @param string method
43: return ($m ===
NULL &&
$callback instanceof
Callback) ?
$callback :
new Callback($callback, $m);
49: * Nette\Debug::dump shortcut.
61: require_once dirname(__FILE__) .
'/exceptions.php';
62: require_once dirname(__FILE__) .
'/Framework.php';
63: require_once dirname(__FILE__) .
'/Object.php';
64: require_once dirname(__FILE__) .
'/ObjectMixin.php';
65: require_once dirname(__FILE__) .
'/Callback.php';
66: require_once dirname(__FILE__) .
'/Loaders/LimitedScope.php';
67: require_once dirname(__FILE__) .
'/Loaders/AutoLoader.php';
68: require_once dirname(__FILE__) .
'/Loaders/NetteLoader.php';