PHP Classes

File: examples/cms/app/admin/controllers/settings.php

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

Contents

Class file image Download
<?php

class settings extends A_Controller_Action {
   
/*
     * This function is called only if it exists. Front Controller pre-filter
     * calls it to get required groups for this controller
     */
   
public function _requireGroups(){
        return array(
'admin');
    }
   
    function
index($locator) {
       
$template = $this->_load()->template();
       
       
$this->response->set('maincontent', $template->render());

    }

}