Compare Revisions
Last modification
- Rev 40 2013-02-22 23:17:13
- Author: PointedEars
- Log message:
Added ZF autoloader
/trunk/ZendFramework-2.1.2/library/Zend/Loader/StandardAutoloader.php |
File deleted |
|
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/MissingResourceNamespaceException.php |
=================================================================== |
--- trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/MissingResourceNamespaceException.php (revision 40) |
+++ trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/MissingResourceNamespaceException.php (nonexistent) |
@@ -1,16 +0,0 @@ |
-<?php |
-/** |
- * Zend Framework (http://framework.zend.com/) |
- * |
- * @link http://github.com/zendframework/zf2 for the canonical source repository |
- * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) |
- * @license http://framework.zend.com/license/new-bsd New BSD License |
- */ |
- |
-namespace Zend\Loader\Exception; |
- |
-require_once __DIR__ . '/ExceptionInterface.php'; |
- |
-class MissingResourceNamespaceException extends \Exception implements |
- ExceptionInterface |
-{} |
/trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/MissingResourceNamespaceException.php |
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/ExceptionInterface.php |
=================================================================== |
--- trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/ExceptionInterface.php (revision 40) |
+++ trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/ExceptionInterface.php (nonexistent) |
@@ -1,13 +0,0 @@ |
-<?php |
-/** |
- * Zend Framework (http://framework.zend.com/) |
- * |
- * @link http://github.com/zendframework/zf2 for the canonical source repository |
- * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) |
- * @license http://framework.zend.com/license/new-bsd New BSD License |
- */ |
- |
-namespace Zend\Loader\Exception; |
- |
-interface ExceptionInterface |
-{} |
/trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/ExceptionInterface.php |
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/BadMethodCallException.php |
=================================================================== |
--- trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/BadMethodCallException.php (revision 40) |
+++ trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/BadMethodCallException.php (nonexistent) |
@@ -1,17 +0,0 @@ |
-<?php |
-/** |
- * Zend Framework (http://framework.zend.com/) |
- * |
- * @link http://github.com/zendframework/zf2 for the canonical source repository |
- * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) |
- * @license http://framework.zend.com/license/new-bsd New BSD License |
- */ |
- |
-namespace Zend\Loader\Exception; |
- |
-require_once __DIR__ . '/ExceptionInterface.php'; |
- |
-class BadMethodCallException extends \BadMethodCallException implements |
- ExceptionInterface |
-{ |
-} |
/trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/BadMethodCallException.php |
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/RuntimeException.php |
=================================================================== |
--- trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/RuntimeException.php (revision 40) |
+++ trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/RuntimeException.php (nonexistent) |
@@ -1,15 +0,0 @@ |
-<?php |
-/** |
- * Zend Framework (http://framework.zend.com/) |
- * |
- * @link http://github.com/zendframework/zf2 for the canonical source repository |
- * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) |
- * @license http://framework.zend.com/license/new-bsd New BSD License |
- */ |
- |
-namespace Zend\Loader\Exception; |
- |
-require_once __DIR__ . '/ExceptionInterface.php'; |
- |
-class RuntimeException extends \RuntimeException implements ExceptionInterface |
-{} |
/trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/RuntimeException.php |
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/InvalidPathException.php |
=================================================================== |
--- trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/InvalidPathException.php (revision 40) |
+++ trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/InvalidPathException.php (nonexistent) |
@@ -1,15 +0,0 @@ |
-<?php |
-/** |
- * Zend Framework (http://framework.zend.com/) |
- * |
- * @link http://github.com/zendframework/zf2 for the canonical source repository |
- * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) |
- * @license http://framework.zend.com/license/new-bsd New BSD License |
- */ |
- |
-namespace Zend\Loader\Exception; |
- |
-require_once __DIR__ . '/ExceptionInterface.php'; |
- |
-class InvalidPathException extends \Exception implements ExceptionInterface |
-{} |
/trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/InvalidPathException.php |
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/PluginLoaderException.php |
=================================================================== |
--- trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/PluginLoaderException.php (revision 40) |
+++ trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/PluginLoaderException.php (nonexistent) |
@@ -1,19 +0,0 @@ |
-<?php |
-/** |
- * Zend Framework (http://framework.zend.com/) |
- * |
- * @link http://github.com/zendframework/zf2 for the canonical source repository |
- * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) |
- * @license http://framework.zend.com/license/new-bsd New BSD License |
- */ |
- |
-namespace Zend\Loader\Exception; |
- |
-require_once __DIR__ . '/DomainException.php'; |
- |
-/** |
- * Plugin class loader exceptions |
- */ |
-class PluginLoaderException extends DomainException |
-{ |
-} |
/trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/PluginLoaderException.php |
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/SecurityException.php |
=================================================================== |
--- trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/SecurityException.php (revision 40) |
+++ trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/SecurityException.php (nonexistent) |
@@ -1,15 +0,0 @@ |
-<?php |
-/** |
- * Zend Framework (http://framework.zend.com/) |
- * |
- * @link http://github.com/zendframework/zf2 for the canonical source repository |
- * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) |
- * @license http://framework.zend.com/license/new-bsd New BSD License |
- */ |
- |
-namespace Zend\Loader\Exception; |
- |
-require_once __DIR__ . '/DomainException.php'; |
- |
-class SecurityException extends DomainException |
-{} |
/trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/SecurityException.php |
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/DomainException.php |
=================================================================== |
--- trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/DomainException.php (revision 40) |
+++ trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/DomainException.php (nonexistent) |
@@ -1,15 +0,0 @@ |
-<?php |
-/** |
- * Zend Framework (http://framework.zend.com/) |
- * |
- * @link http://github.com/zendframework/zf2 for the canonical source repository |
- * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) |
- * @license http://framework.zend.com/license/new-bsd New BSD License |
- */ |
- |
-namespace Zend\Loader\Exception; |
- |
-require_once __DIR__ . '/ExceptionInterface.php'; |
- |
-class DomainException extends \DomainException implements ExceptionInterface |
-{} |
/trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/DomainException.php |
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/InvalidArgumentException.php |
=================================================================== |
--- trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/InvalidArgumentException.php (revision 40) |
+++ trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/InvalidArgumentException.php (nonexistent) |
@@ -1,16 +0,0 @@ |
-<?php |
-/** |
- * Zend Framework (http://framework.zend.com/) |
- * |
- * @link http://github.com/zendframework/zf2 for the canonical source repository |
- * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) |
- * @license http://framework.zend.com/license/new-bsd New BSD License |
- */ |
- |
-namespace Zend\Loader\Exception; |
- |
-require_once __DIR__ . '/ExceptionInterface.php'; |
- |
-class InvalidArgumentException extends \InvalidArgumentException implements |
- ExceptionInterface |
-{} |
/trunk/ZendFramework-2.1.2/library/Zend/Loader/Exception/InvalidArgumentException.php |
Property changes: |
Deleted: svn:executable |
## -1 +0,0 ## |
-* |
\ No newline at end of property |
Index: trunk/ZendFramework-2.1.2/library/Zend/Loader/SplAutoloader.php |
=================================================================== |
--- trunk/ZendFramework-2.1.2/library/Zend/Loader/SplAutoloader.php (revision 40) |
+++ trunk/ZendFramework-2.1.2/library/Zend/Loader/SplAutoloader.php (nonexistent) |
@@ -1,63 +0,0 @@ |
-<?php |
-/** |
- * Zend Framework (http://framework.zend.com/) |
- * |
- * @link http://github.com/zendframework/zf2 for the canonical source repository |
- * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) |
- * @license http://framework.zend.com/license/new-bsd New BSD License |
- */ |
- |
-namespace Zend\Loader; |
- |
-use Traversable; |
- |
-if (interface_exists('Zend\Loader\SplAutoloader')) return; |
- |
-/** |
- * Defines an interface for classes that may register with the spl_autoload |
- * registry |
- */ |
-interface SplAutoloader |
-{ |
- /** |
- * Constructor |
- * |
- * Allow configuration of the autoloader via the constructor. |
- * |
- * @param null|array|Traversable $options |
- */ |
- public function __construct($options = null); |
- |
- /** |
- * Configure the autoloader |
- * |
- * In most cases, $options should be either an associative array or |
- * Traversable object. |
- * |
- * @param array|Traversable $options |
- * @return SplAutoloader |
- */ |
- public function setOptions($options); |
- |
- /** |
- * Autoload a class |
- * |
- * @param $class |
- * @return mixed |
- * False [if unable to load $class] |
- * get_class($class) [if $class is successfully loaded] |
- */ |
- public function autoload($class); |
- |
- /** |
- * Register the autoloader with spl_autoload registry |
- * |
- * Typically, the body of this will simply be: |
- * <code> |
- * spl_autoload_register(array($this, 'autoload')); |
- * </code> |
- * |
- * @return void |
- */ |
- public function register(); |
-} |