Jeff PHP framework  0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
login.php
Go to the documentation of this file.
00001 <?php
00021 class login {
00022 
00026         private $_registry;
00027         
00031         public $actionform;
00032 
00036         public $link;
00037 
00044         function __construct($id) {
00045         
00046                 $this->_registry = registry::instance();
00047 
00048                 if($id=='in') $this->actionform = $this->_registry->router->linkHref('login', null);
00049                 elseif($id=='out') $this->link = $this->_registry->router->linkHref('logout', null);
00050         
00051         }
00052 
00053 
00054 }
00055 
00056 ?>