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

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


Class file image Download

class about extends A_Controller_Action {

__construct($locator) {
$this->response->set('subcontent', '<li><a href="about/">About Us</a></li><li>
        <a href="about/agents/">Our Agents</a></li> '
/* Default action. Shows latest articles */
function index($locator) {
$this->response->set('maincontent', '<h1>About Us</h1>This is the maincontent for the about page. ');
agents($locator) {
$this->response->set('maincontent', '<h1>About Our Agents</h1>This is the maincontent for the AGENTS page. ');


For more information send a message to info at phpclasses dot org.