File: examples/formcontroller/views/Form4View.php

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

Contents

Class file image Download
<?php

class Form4View extends A_Http_View {
    protected
$values = array();
    protected
$errmsgs = array();
   
    function
__construct($locator) {
       
parent::__construct($locator);
    }

    function
setValues($values) {
       
$this->values = $values;
    }
   
    function
setErrorMsg($errmsgs) {
       
$this->errmsgs = $errmsgs;
    }
   
    function
render() {
       
$layout = $this->_load()->template('example_form4');
       
$layout->set('values', $this->values);
       
$layout->set('errmsg', $this->errmsgs);
       
$content = $layout->render();
        return
$content;
    }

}


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