php - How to execute module bootstrap resources present inside another module's bootstrap in Zend Framework 1? -


i bootstrapping application zend_application_module_bootstrap inside various module directories. how can require resource inside module's bootstrap executed first?

// app/modules/user/bootstrap.php class user_bootstrap extends zend_application_module_bootstrap {     protected function _inituser()     {     } }  // app/modules/author/bootstrap.php class author_bootstrap extends zend_application_module_bootstrap {     protected function _initauthor()     {         $this->bootstrap('user'); // fatal:  resource matching 'user' not found     } } 

i've decided use plugins achieve fine-grained functionality, execution order cannot managed properly, therefore making module bootstraps poor choice place code dependencies.

used referenced answer below base decision:

load /execute module based bootstraps each module in order


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -