TYPO3 CMS  TYPO3_6-2
FrontendUser.php
Go to the documentation of this file.
1 <?php
3 
22 
26  protected $username = '';
27 
31  protected $password = '';
32 
36  protected $usergroup;
37 
41  protected $name = '';
42 
46  protected $firstName = '';
47 
51  protected $middleName = '';
52 
56  protected $lastName = '';
57 
61  protected $address = '';
62 
66  protected $telephone = '';
67 
71  protected $fax = '';
72 
76  protected $email = '';
77 
81  protected $lockToDomain = '';
82 
86  protected $title = '';
87 
91  protected $zip = '';
92 
96  protected $city = '';
97 
101  protected $country = '';
102 
106  protected $www = '';
107 
111  protected $company = '';
112 
116  protected $image = '';
117 
121  protected $lastlogin = NULL;
122 
130  public function __construct($username = '', $password = '') {
131  $this->username = $username;
132  $this->password = $password;
133  $this->usergroup = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
134  }
135 
143  public function setUsername($username) {
144  $this->username = $username;
145  }
146 
153  public function getUsername() {
154  return $this->username;
155  }
156 
164  public function setPassword($password) {
165  $this->password = $password;
166  }
167 
174  public function getPassword() {
175  return $this->password;
176  }
177 
186  public function setUsergroup(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $usergroup) {
187  $this->usergroup = $usergroup;
188  }
189 
197  public function addUsergroup(\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $usergroup) {
198  $this->usergroup->attach($usergroup);
199  }
200 
208  public function removeUsergroup(\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $usergroup) {
209  $this->usergroup->detach($usergroup);
210  }
211 
219  public function getUsergroup() {
220  return $this->usergroup;
221  }
222 
230  public function setName($name) {
231  $this->name = $name;
232  }
233 
240  public function getName() {
241  return $this->name;
242  }
243 
251  public function setFirstName($firstName) {
252  $this->firstName = $firstName;
253  }
254 
261  public function getFirstName() {
262  return $this->firstName;
263  }
264 
272  public function setMiddleName($middleName) {
273  $this->middleName = $middleName;
274  }
275 
282  public function getMiddleName() {
283  return $this->middleName;
284  }
285 
293  public function setLastName($lastName) {
294  $this->lastName = $lastName;
295  }
296 
303  public function getLastName() {
304  return $this->lastName;
305  }
306 
314  public function setAddress($address) {
315  $this->address = $address;
316  }
317 
324  public function getAddress() {
325  return $this->address;
326  }
327 
335  public function setTelephone($telephone) {
336  $this->telephone = $telephone;
337  }
338 
345  public function getTelephone() {
346  return $this->telephone;
347  }
348 
356  public function setFax($fax) {
357  $this->fax = $fax;
358  }
359 
366  public function getFax() {
367  return $this->fax;
368  }
369 
377  public function setEmail($email) {
378  $this->email = $email;
379  }
380 
387  public function getEmail() {
388  return $this->email;
389  }
390 
398  public function setLockToDomain($lockToDomain) {
399  $this->lockToDomain = $lockToDomain;
400  }
401 
408  public function getLockToDomain() {
409  return $this->lockToDomain;
410  }
411 
419  public function setTitle($title) {
420  $this->title = $title;
421  }
422 
429  public function getTitle() {
430  return $this->title;
431  }
432 
440  public function setZip($zip) {
441  $this->zip = $zip;
442  }
443 
450  public function getZip() {
451  return $this->zip;
452  }
453 
461  public function setCity($city) {
462  $this->city = $city;
463  }
464 
471  public function getCity() {
472  return $this->city;
473  }
474 
482  public function setCountry($country) {
483  $this->country = $country;
484  }
485 
492  public function getCountry() {
493  return $this->country;
494  }
495 
503  public function setWww($www) {
504  $this->www = $www;
505  }
506 
513  public function getWww() {
514  return $this->www;
515  }
516 
524  public function setCompany($company) {
525  $this->company = $company;
526  }
527 
534  public function getCompany() {
535  return $this->company;
536  }
537 
545  public function setImage($image) {
546  $this->image = $image;
547  }
548 
555  public function getImage() {
556  return $this->image;
557  }
558 
566  public function setLastlogin(\DateTime $lastlogin) {
567  $this->lastlogin = $lastlogin;
568  }
569 
576  public function getLastlogin() {
577  return $this->lastlogin;
578  }
579 }
setUsergroup(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $usergroup)
removeUsergroup(\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $usergroup)
addUsergroup(\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $usergroup)
__construct($username='', $password='')