Tiger_Application_Resource_Modules

@api · extends Zend_Application_Resource_Modules

Tiger_Application_Resource_Modules — module bootstrapping, with an activation gate.

Drop-in replacement for Zend_Application_Resource_Modules (resolved in place of it because Tiger_Application_Bootstrap::_initTigerPaths registers the Tiger_Application_Resource plugin prefix). It does ONE thing before delegating to the stock behavior: remove deactivated modules from the front controller's controller-directory map.

That map is the single control point ZF1 uses for BOTH bootstrapping (parent::init() iterates it) and dispatch (the router/dispatcher read it) — so stripping a module here means it neither loads its Bootstrap nor answers any URL. Deactivation = invisible, not deleted.

Fail-safe: any error (no DB, no module table on a fresh install) leaves the map untouched, so every module stays active — never a worse state than stock ZF1.

Methods

init()

init()

Strip deactivated modules from the controller-directory map, then delegate to the stock module bootstrapping.

Returns mixed — the stock resource's initialized module bootstraps