PHP Classes

File: test/views/hello.tpl.php

Recommend this page to a friend!
  Packages of Nikos M.   Tico PHP MVC Framework   test/views/hello.tpl.php   Download  
File: test/views/hello.tpl.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Tico PHP MVC Framework
Framework to implement MVC applications in PHP
Author: By
Last change: v.1.22.0 in progress

* HttpFoundation updated to v.7.3.1, inconsistencies and typos correct as well
* Tico requestParam case insensitive
* Tico route params object optional
Date: 5 months ago
Size: 385 bytes
 

Contents

Class file image Download
<?php $this->extend('layout/base.tpl.php'); ?>

<?php $this->start('title'); ?><?php echo $title; ?><?php $this->end('title'); ?>

<?php $this->start('content'); ?>
<p>Root: <?php echo $msg; ?></p>
<p>"<?php echo tico()->requestPath(); ?>", "<?php echo tico()->currentUrl(false); ?>", "<?php echo tico()->requestParam('param', '&lt;empty&gt;'); ?>"</p>
<?php $this->end('content'); ?>