PHP Classes

File: config.xml

Recommend this page to a friend!
  Classes of Marcio Ghiraldelli   FF-MVC   config.xml   Download  
File: config.xml
Role: Configuration script
Content type: text/plain
Description: Configuração do Controlador
Class: FF-MVC
MVC 2 implementation based on Java Struts
Author: By
Last change:
Date: 16 years ago
Size: 724 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xml>

  <template name="site" file="/exemplo/template.php" />

  <auth-module name="auth_login" require-session-user="session_usuario" login-action="login" />


  <module name="exemplo">

      <action name="login" type="Login_Action">
        <forward name="form" file="login.php" template="site" />
        <forward name="bemvindo" file="welcome.php" template="site" />
      </action>

  </module>


  <module name="exemplo_restrito" auth-module="auth_login">

      <global-forward name="erro" file="erro.php" />

      <action name="sistema" type="Sistema_Action">
        <forward name="lista" file="lista.php" template="site" />
      </action>

  </module>


</xml>