Пример #1
0
 /**
  * Constructor.
  *
  * @param string $username The user's username.
  * @param string $password The user's password.
  */
 public function __construct($username = '', $password = '')
 {
     parent::__construct($username, $password);
     $this->readTopics = new ObjectStorage();
     $this->readForum = new ObjectStorage();
 }
Пример #2
0
 /**
  * Constructs a new Front-End User
  *
  * @param string $username
  * @param string $password
  * @return self
  */
 public function __construct($username = '', $password = '')
 {
     parent::__construct($username, $password);
 }
Пример #3
0
 /**
  * __construct
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     //Do not remove the next line: It would break the functionality
     $this->initStorageObjects();
 }