File: examples/basic_app/app/controllers/home.php

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

Contents

Class file image Download
<?php

class home {
   
    function
home($locator) {
       
$response = $locator->get('Response');
       
       
$response->set('content', 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam gravida enim ut risus.
        Praesent sapien purus, ultrices a, varius ac, suscipit ut, enim. Maecenas in lectus.
        Donec in sapien in nibh rutrum gravida. Sed ut mauris. Fusce malesuada enim vitae lacus
        euismod vulputate. Nullam rhoncus mauris ac metus. Maecenas vulputate aliquam odio.
        Duis scelerisque justo a pede. Nam augue lorem, semper at, porta eget, placerat eget,
        purus. Suspendisse mattis nunc vestibulum ligula. In hac habitasse platea dictumst.'
);

       
$response->set('sidebar', 'Maecenas vulputate aliquam odio.
        Duis scelerisque justo a pede. Nam augue lorem, semper at, porta eget, placerat eget,
        purus. Suspendisse mattis nunc vestibulum ligula. In hac habitasse platea dictumst.'
);
    }
   
}

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