Details
-
Type:
Docs: Problem
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.2
-
Fix Version/s: 1.10.0
-
Component/s: Zend_Application
-
Labels:None
-
Language:English
Description
In the reference guide of Zend_Application in the examples section, I found the following snippet:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { protected function _initRequest(array $options = array()) { ... } }
I was trying to find the utility of $options, since it is not passed by the calls to bootstrap() and bootstrap<name>(). Also, in the snippet, the $options array isn't used.
Reading Zend_Application_Bootstrap_BootstrapAbstract, the _init method isn't called with additional arguments. This can confuse some people, specially if trying the overloaded way.
As a hint, look the following methods of Zend_Application_Bootstrap_BootstrapAbstract:
- __call
- bootstrap
- _bootstrap
- _executeResource
Fixed in trunk and 1.10 release branch