Source for file Login.php

Documentation is available at Login.php

  1. <?php
  2. /* -------------------------------------------------------------------------- */
  3. /* Module      : Login                                                        */
  4. /*                                                                            */
  5. /* Version History :                                                          */
  6. /*                                                                            */
  7. /* Date        Vsn     Author          Description                            */
  8. /* -------------------------------------------------------------------------- */
  9. /* 10/03/09    1.0     S.Lindo         Initial version.                       */
  10. /* -------------------------------------------------------------------------- */
  11. /**
  12.  * Checks if a user is logged in. If not, the login screen is displayed. (Not yet implemented).
  13.  * 
  14.  * @todo Develop and test this class
  15.  * @package Default
  16.  * @return void 
  17.  */
  18.                                          Zend_Controller_Action_Helper_Abstract
  19.  
  20. {
  21.     public function direct($in_Controller='index'$in_Action='index')
  22.     {
  23.         echo "<br /><br />TO DO : Login Form to be displayed here if the user is not already logged in.";
  24.         //echo "<br />";
  25.         //echo "<br />Then proceed to ";
  26.         //echo "<br />\tController : " . $in_Controller;
  27.         //echo "<br />\tAction : " . $in_Action;
  28.     }
  29.  
  30.     /**
  31.      * Checks if a user is logged in.
  32.      * 
  33.      */
  34.     public function checkAccess()
  35.     {
  36.         return false;
  37.     }
  38. }

Documentation generated on Fri, 27 Mar 2009 13:48:38 +0000 by phpDocumentor 1.4.1