Source for file mosvaliduserbot.php

Documentation is available at mosvaliduserbot.php

  1. <?php
  2. /**
  3. @package Mambo
  4. @author Mambo Foundation Inc see README.php
  5. @copyright Mambo Foundation Inc.
  6. *  See COPYRIGHT.php for copyright notices and details.
  7. @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see
  8. *  LICENSE.php
  9. *  Mambo is free software; you can redistribute it and/or
  10. *  modify it under the terms of the GNU General Public License
  11. *  as published by the Free Software Foundation; version 2 of the
  12. *  License.
  13. */
  14.  
  15. class mosValidUserBot {
  16.     
  17.     function register ({
  18.         return 'requiredLogin';
  19.     }
  20.  
  21.     function perform ($loginobject{
  22.         $username $loginobject->getUser();
  23.         $passwd md5($loginobject->getPassword());
  24.         $remember $loginobject->getRemember();
  25.         $authenticator =mamboAuthenticator::getInstance();
  26.         $checkuser $authenticator->authenticateUser($message$username$passwd$remember);
  27.         return $message;
  28.     }
  29. }
  30.  
  31. ?>

Documentation generated on Mon, 05 May 2008 16:21:33 +0400 by phpDocumentor 1.4.0