File: examples/frontcontroller_prefilters/controllers/security_default.php

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

Contents

Class file image Download
<?php

class security_default {

    function
index($locator) {
       
$response = $locator->get('Response');

       
$content = '
<html>
<body>
    <h2>Front Controller: Page - Default Security Action</h2>
    <p>You are seeing this page because this controller has denied access but has not forwarded, so the Front Controller forwards a specified by this pre-method. </p>
    <a href="?controller=home">Return Home</a>
</body>
</html>
'
;
       
$response->setContent($content);
    }

}

?>

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