PHP Classes

File: WEB-INF/lib/index.php

Recommend this page to a friend!
  Packages of Gregory   Damn Small MVC   WEB-INF/lib/index.php   Download  
File: WEB-INF/lib/index.php
Role: Example script
Content type: text/plain
Description: INDEX page model
Class: Damn Small MVC
Light weight MVC implementation framework
Author: By
Last change:
Date: 21 years ago
Size: 262 bytes
 

 

Contents

Class file image Download
<?
/*
    Model file environment variables

    $_TMPL        Template name
    $_ROOT        Data structure
    $_ERROR        Internal model error
    $_SELF        Model name
    $_PATH        URI as array
*/

$_ROOT = array(
    'title' => 'Test',
    'content' => <<<qq
    Some data ;)
qq
);

?>