Hi. > > I saw that Icinga handles routing in splitted routing.xml files. Each > module has it´s own routing.xml file. > > How do I tell agavi to “read” these files? I looked at the src of > Incinga, but can´t get it. Could someone tell me, where I have to look? >
This was made through by an additional global configuration handler. You can see the intercepting code in app/config/config_handlers.xml. The new one iterates over all modules, reads the 'module.<name>.agavi.include.routing' setting and creates XInclude nodes for all files specified there into existing target node. After that the default routing handler doing its work. You can dig into the following files for more information: app/config/config_handlers.xml app/config/routing.xml app/modules/AppKit/config/module.xml app/modules/AppKit/config/routing.xml app/modules/AppKit/lib/config/AppKitXIncludeConfigHandler.class.php Hope this helps clear up things a bit. Kind regards, Marius. -- http://www.itsocks.de - Deep in their roots all flowers keep the light. PGP: 0x53FA79D0 (https://users.itsocks.de/~mhein/pgp/mhein.asc) _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
