News
Stagehand_Autoload 1.1.0 (stable) released
We are pleased to announce that the Stagehand_Autoload 1.1.0 (stable) is now available.
Release Date: 2010-09-11
The features of Stagehand_Autoload 1.1.0 is the same as Stagehand_Autoload 1.0.0 except the version number and the directory structure. As of this version, the sources are located directly under the php_dir (PEAR directory).
Stagehand_Autoload 1.0.0 (stable) released
We are pleased to announce that the Stagehand_Autoload 1.0.0 (stable) is now available.
Release Date: 2010-01-25
What's New in Stagehand_Autoload 1.0.0¶
The first stable release of Stagehand_Autoload¶
This is the first release of Stagehand_Autoload. Stagehand_Autoload 1.0.0 is the same as Stagehand_Autoload 0.5.0 except the version number.
Stagehand_Autoload 0.5.0 (beta) released
We are pleased to announce that the Stagehand_Autoload 0.5.0 (beta) is now available.
Release Date: 2010-01-05
What's New in Stagehand_Autoload 0.5.0¶
Searches target namespaces in FIFO order.¶
As of this version, namespaces are searched in FIFO order. (Issue #122)
A defect fix¶
A defect has been fixed that caused NamespaceLoader not to work with two or more level nesting target namespaces. (Issue #123)
Stagehand_Autoload 0.4.0 (beta) released
I am pleased to announce that the Stagehand_Autoload 0.4.0 (beta) is now available.
Release Date: 2009-09-13
What's New in Stagehand_Autoload 0.4.0¶
New APIs for getting built-in loaders¶
The following methods are now available for getting the built-in loaders:
- Stagehand_Autoload::legacyLoader() which replaces Stagehand_Autoload::getLegacyLoader()
- Stagehand_Autoload::namespaceLoader() which replaces Stagehand_Autoload::getNamespaceLoader()
The old APIs Stagehand_Autoload::getLegacyLoader() and Stagehand_Autoload::getNamespaceLoader() have been deprecated, and these will be removed in after this release.
Stagehand_Autoload 0.3.0 (beta) released
I am pleased to announce that the Stagehand_Autoload 0.3.0 (beta) is now available.
Release Date: 2009-08-23
What's New in Stagehand_Autoload 0.3.0¶
getLegacyLoader() and getNamespaceLoader()¶
The following utility methods are now available for getting the built-in loaders:
- getLegacyLoader() for the legacy loader
- getNamespaceLoader() for the namespace loader
Namespace support for the legacy loader¶
To autoload classes/interfaces, specify one or more namespaces same as the namespace loader.
$loader = Stagehand_Autoload::getLegacyLoader();
$loader->addNamespace('Stagehand');
$loader->addNamespace('Piece');
Stagehand_Autoload::register($loader);
Any classes/interfaces no longer be loaded automatically without specifying namespaces.
Stagehand_Autoload 0.2.0 (beta) released
I am pleased to announce that the Stagehand_Autoload 0.2.0 (beta) is now available.
Release Date: 2009-08-20
What's New in Stagehand_Autoload 0.2.0¶
New APIs¶
The following new APIs have been added to use autoload more explicitly:
- Stagehand_Autoload::register()
- Stagehand_Autoload::getLoader()
- Stagehand_Autoload_Loader_LegacyLoader for the Package_Class style naming convension
- Stagehand_Autoload_Loader_NamespaceLoader for the Package\Class style naming convension for PHP 5.3
For more information, see the Reference Guide.
Also available in: Atom