PHP Classes

File: examples/actioncontroller/app/module1/views/exampleView.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/actioncontroller/app/module1/views/exampleView.php   Download  
File: examples/actioncontroller/app/module1/views/exampleView.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: 293 bytes
 

Contents

Class file image Download
<?php
class exampleView extends A_Http_View {

    public function
render($template='', $scope='') {
       
$model = $this->_load()->model();

       
$template = $this->_load()->template();
       
$template->set('model', $model);

       
$this->setRenderer($template);

        return
parent::render();
    }
}