PHP Classes

File: contents/themes/simplecolor/controller/theme404page.php

Recommend this page to a friend!
  Classes of Minh Tien   Noblesse CMS   contents/themes/simplecolor/controller/theme404page.php   Download  
File: contents/themes/simplecolor/controller/theme404page.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Noblesse CMS
Content management system with custom plugins
Author: By
Last change:
Date: 9 years ago
Size: 407 bytes
 

Contents

Class file image Download
<?php

class theme404page
{
    public function
index()
    {
       
self::makeContent('404page');
    }

    public function
makeContent($viewName,$inputData=array())
    {
       
$themePath=System::getThemePath().'view/';

       
$inputData['themePath']=$themePath;

       
View::makeWithPath('head',array(),$themePath);

       
View::makeWithPath($viewName,$inputData,$themePath);

       
View::makeWithPath('footer',array(),$themePath);

    }


}

?>