PHP Classes

File: examples/blog/app/controllers/error.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/blog/app/controllers/error.php   Download  
File: examples/blog/app/controllers/error.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 8 years ago
Size: 377 bytes
 

Contents

Class file image Download
<?php

class error extends A_Controller_Action {
    function
__construct($locator) {
       
parent::__construct($locator);
    }
   
    function
index($locator) {
       
$maincontent = '<h2>Front Controller: Error</h2>';
       
$subcontent = 'subcontent error page';
       
       
$this->response->set('maincontent', $maincontent);
       
$this->response->set('subcontent', $subcontent);
    }

}

?>