;Phramework Copyright (C) 2005 GodsArmor.com
;
;This library is free software; you can redistribute it and/or modify it under
;the terms of the GNU Lesser General Public License as published by the Free
;Software Foundation; either version 2.1 of the License, or (at your option) any
;later version.
;
;This library is distributed in the hope that it will be useful, but WITHOUT ANY
;WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
;PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
;
;You should have received a copy of the GNU Lesser General Public License along
;with this library; if not, write to theFree Software Foundation, Inc.,
;59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This configuration parameter allows you to define multiple configuration ;
; files. That way, you can split the configuration into Phramework specific ;
; and application specific configuration. It also allows you to secure the ;
; configuration data by putting it outside of your web path. Pipe separate ;
; the entries. ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;phramework.config.files=
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Classpath. separate all items here by a pipe (|) character ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;phramework.classpath=
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; When importing classes, these are the possible extensions that the file can ;
; contain. Pipe separate (|) all possible extensions and put them in the ;
; order from most likely to least likely for performance purposes, because the ;
; file that is imported is the first one that is found. ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;phramework.import.extensions=php
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This shows what request variable contains the action to perform. If the ;
; variable is not present in the request, the action.default class will be ;
; created and called. ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;phramework.page.identifier=action
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Global views (Struts forwards) ;
; You can define global views for defined actions. If the action that was ;
; performed returns a view that is not defined for that action, the global ;
; view list will be queried to see if a matching view is found there. Views ;
; defined for the action always take precedence over global views. ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;global.view.success=
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Actions ;
; These act similar to struts actions. Based on the value of the ;
; page.identifier key the framework will choose an action to perform. For ;
; example if the action request variable is 'editPage' the phramework will ;
; search for an action called action.editPage and run the class on that ;
; action. If no action request variable is passed in to the page, phramework ;
; will run the action.default action. So, action.default should always be ;
; defined to execute some action. Actions must extend the Action class ;
; defined by the phramework. ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;action.default=com.godsarmor.reuse.actions.StaticPageAction
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Views ;
; When an action has completed its processing, it needs to forward information ;
; to a particular view by passing a "mapping" value back to the phramework. ;
; This value is a string that will be appended to the action request variable ;
; and searched for as a key in this config file. For example, if the action ;
; is 'editPage' and the class for edit page returned 'success', phramework ;
; would look for a view called view.editPage.success. If it could not be ;
; found, phramework will then look for global.view.success. An action's view ;
; will always take precedence over a global view. Views must extend the ;
; View class defined by the phramework. ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;view.default.success=default.html
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; View Plugins (Optional) ;
; View plugins allow views to be generated by things other than php classes. ;
; By default and if there are no plugins defined the view for the action will ;
; be imported into the phramework as a PHP class that extends the View class ;
; defined by the phramework and its processView method will be executed. If ;
; view plugins are defined and the extension of the view matches the extension ;
; for the plugin, the plugin will be imported and loaded and its processView ;
; method will be called. View plugins must extend the ViewPlugin class ;
; defined by phramework. Each plugin must also define the extensions that it ;
; will handle. That is how phramework knows to pass the view to the plugin. ;
; You can also pass in initialization parameters as shown in the example below ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;viewplugin.html=com.godsarmor.reuse.plugins.HtmlPlugin
;viewplugin.html.extensions=html
|