#825: Add module initialization method and use it where appropriate
-------------------------+--------------------------------------------------
Reporter: david | Owner: felix
Type: enhancement | Status: closed
Priority: high | Milestone: 1.0
Component: controller | Version:
Severity: major | Resolution: fixed
Keywords: | Has_patch: 0
-------------------------+--------------------------------------------------
Changes (by felix):
* status: assigned => closed
* resolution: => fixed
Comment:
(In [2715]) - Merges the changes from http://svn.agavi.org/branches/felix-
module_initialization
------------------------------------------------------------------------
r2714
Changes the autoload config handler test to check on the value that is now
returned instead of written straight to the Agavi::$autoloads
------------------------------------------------------------------------
r2713
- Adds AgaviController::initializeModule() to load autoloads and module
config
- Adds an AgaviDisabledModuleException() that gets thrown by
AgaviController::initializeModule() when trying to initialize a disabled
module
- AgaviController::createActionInstance() and
AgaviController::createViewInstance() now call
AgaviController::initializeModule() to have the autoloads and the module
config available in any case
- AgaviContext::createModel() now calls
AgaviController::initializeModule() to have the autoloads an the module
config available
------------------------------------------------------------------------
r2712
- Changed the autoload config handler to return the autoloads array
instead of writing directly to Agavi::$autoloads
- fixes #824 in 1.0, fixes #825 in 1.0
--
Ticket URL: <http://trac.agavi.org/ticket/825#comment:4>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets