Login   Register  
PHP Classes
elePHPant
Icontem

File: tmp_content.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of vench  >  Vs View Render  >  tmp_content.php  >  Download  
File: tmp_content.php
Role: Example script
Content type: text/plain
Description: tmp_content
Class: Vs View Render
Render templates using parameter arrays
Author: By
Last change:
Date: 1 year ago
Size: 217 bytes
 

Contents

Class file image Download
<?php 
$this
->title 'Some title';
$this->obStart('tmp_wrapper.php'); 
?>

<h1>Hello <?=$name?>!</h1>
<p>How are you?</p>

<?php echo $this->render('tmp_model', array(), FALSE); ?>

<?php $this->obEnd(); ?>