#668: Allow customization of the way Actions, Views etc. are laid out in the
filesystem
-------------------------+--------------------------------------------------
Reporter: david | Owner: david
Type: enhancement | Status: assigned
Priority: low | Milestone: 1.0
Component: _OTHER_ | Version:
Severity: normal | Resolution:
Keywords: | Has_patch: 0
-------------------------+--------------------------------------------------
Comment(by david):
And then, in a new-style {{{module.xml}}} (#834):
{{{
<setting
name="agavi.action.path">%core.module_dir%/${moduleName}/${actionName}/Action.class.php</setting>
<setting
name="agavi.cache.path">%core.module_dir%/${moduleName}/${actionName}/cache.xml</setting>
<setting
name="agavi.template.directory">%core.module_dir%/${module}</setting>
<setting
name="agavi.validate.path">%core.module_dir%/${moduleName}/${actionName}/validate.xml</setting>
<setting
name="agavi.view.path">%core.module_dir%/${moduleName}/${viewName}View.class.php</setting>
<setting name="agavi.view.name">${actionName}/${viewName}</setting>
}}}
Of course, you can also put this into its own {{{<settings>}}} block and
XInclude from elsewhere...
--
Ticket URL: <http://trac.agavi.org/ticket/668#comment:6>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets