*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
private $authMethod = "";
// Exception constants
- const EXCEPTION_INVALID_USER_INSTANCE = 0x080;
+ const EXCEPTION_INVALID_USER_INSTANCE = 0x190;
/**
* Protected constructor
protected function __construct () {
// Call parent constructor
parent::__construct(__CLASS__);
-
- // Set part description
- $this->setObjectDescription("Login helper for Ship-Simu");
-
- // Create unique ID number
- $this->generateUniqueId();
}
/**
$userInstance = Registry::getRegistry()->getInstance('user');
// Is this instance valid?
- if (!$userInstance instanceof ManageableUser) {
+ if (!$userInstance instanceof ManageableAccount) {
// Thrown an exception here
throw new UserInstanceMissingException (array($helperInstance, 'user'), self::EXCEPTION_INVALID_USER_INSTANCE);
} // END - if