mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-18 11:43:26 +02:00
First public release of MyAAC
This commit is contained in:
27
system/libs/dwoo/Dwoo/Adapters/Agavi/README
Normal file
27
system/libs/dwoo/Dwoo/Adapters/Agavi/README
Normal file
@@ -0,0 +1,27 @@
|
||||
// ------------------------
|
||||
// Install notes :
|
||||
// ------------------------
|
||||
|
||||
- drop dwoo's directory in app/lib/renderer (create if needed)
|
||||
|
||||
- add a renderer to app/config/output_types.xml as such :
|
||||
<renderer name="dwoo" class="DwooRenderer">
|
||||
<parameter name="assigns">
|
||||
<parameter name="routing">ro</parameter>
|
||||
<parameter name="request">rq</parameter>
|
||||
<parameter name="controller">ct</parameter>
|
||||
<parameter name="user">us</parameter>
|
||||
<parameter name="translation_manager">tm</parameter>
|
||||
<parameter name="request_data">rd</parameter>
|
||||
</parameter>
|
||||
<parameter name="extract_vars">true</parameter>
|
||||
<parameter name="plugin_dir">%core.lib_dir%/dwoo_plugins</parameter>
|
||||
</renderer>
|
||||
|
||||
- add the renderer to app/config/autoload.xml as such :
|
||||
<autoload name="DwooRenderer">%core.lib_dir%/renderer/dwoo/Dwoo/Adapter/Agavi/DwooRenderer.php</autoload>
|
||||
|
||||
- you can copy the /Dwoo/Adapters/Agavi/dwoo_plugins directory to your agavi app's
|
||||
lib directory, or change the plugin_dir parameter in the output_types.xml file.
|
||||
these plugins are agavi-specific helpers that shortens the syntax to call common
|
||||
agavi helpers (i18n, routing, ..)
|
Reference in New Issue
Block a user