File: examples/login/application/controllers/admin.php

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

Contents

Class file image Download
<?php

class admin extends A_Controller_Action {

    function
index($locator) {
   
// $this->_load()->response()->view(); For now keep it simple like below
       
       
$content = '
<html>
<body>
    <h2>Admin Page Action</h2>
    <p><a href="/examples/login/">home</a> | <a href="login/">log-in</a></p>
</body>
</html>
'
;
       
$this->response->setContent($content);
       
    }

}

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