Login   Register  
PHP Classes
elePHPant
Icontem

File: WEB-INF/lib/index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes 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: 9 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
);

?>