PHP Classes

File: examples/cms/app/blog/controllers/index.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/cms/app/blog/controllers/index.php   Download  
File: examples/cms/app/blog/controllers/index.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: 383 bytes
 

Contents

Class file image Download
<?php

class index extends A_Controller_Action {

    function
__construct($locator) {
       
parent::__construct($locator);
    }
   
   
/* Default action. Shows latest articles */
   
function index($locator) {
       
$this->response->set('maincontent', 'This is the maincontent for the Blog index page. ');
       
$this->response->set('subcontent', 'This is the subcontent for the blog index page. ');

    }

}