ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.arUser.php
Go to the documentation of this file.
1<?php
2require_once('./Services/ActiveRecord/class.ActiveRecord.php');
3
10class arUser extends ActiveRecord {
11
15 static function returnDbTableName() {
16 return 'usr_data';
17 }
18
19
30 protected $usr_id;
38 protected $login;
46 protected $passwd;
54 protected $firstname;
62 protected $lastname;
70 protected $title;
78 protected $gender;
86 protected $email;
94 protected $institution;
102 protected $street;
110 protected $city;
118 protected $zipcode;
126 protected $country;
134 protected $phone_office;
142 protected $last_login;
150 protected $last_update;
158 protected $create_date;
166 protected $hobby;
174 protected $department;
182 protected $phone_home;
190 protected $phone_mobile;
198 protected $fax;
206 protected $i2passwd;
262 protected $matriculation;
271 protected $active;
279 protected $approve_date;
287 protected $agree_date;
295 protected $client_ip;
303 protected $auth_mode;
319 protected $ext_account;
327 protected $feed_hash;
335 protected $latitude;
343 protected $longitude;
352 protected $loc_zoom;
378 protected $reg_hash;
386 protected $birthday;
394 protected $sel_country;
402 protected $last_visited;
420
421
425 public function setActive($active) {
426 $this->active = $active;
427 }
428
429
433 public function getActive() {
434 return $this->active;
435 }
436
437
441 public function setAgreeDate($agree_date) {
442 $this->agree_date = $agree_date;
443 }
444
445
449 public function getAgreeDate() {
450 return $this->agree_date;
451 }
452
453
457 public function setApproveDate($approve_date) {
458 $this->approve_date = $approve_date;
459 }
460
461
465 public function getApproveDate() {
466 return $this->approve_date;
467 }
468
469
473 public function setAuthMode($auth_mode) {
474 $this->auth_mode = $auth_mode;
475 }
476
477
481 public function getAuthMode() {
482 return $this->auth_mode;
483 }
484
485
489 public function setBirthday($birthday) {
490 $this->birthday = $birthday;
491 }
492
493
497 public function getBirthday() {
498 return $this->birthday;
499 }
500
501
505 public function setCity($city) {
506 $this->city = $city;
507 }
508
509
513 public function getCity() {
514 return $this->city;
515 }
516
517
521 public function setClientIp($client_ip) {
522 $this->client_ip = $client_ip;
523 }
524
525
529 public function getClientIp() {
530 return $this->client_ip;
531 }
532
533
537 public function setCountry($country) {
538 $this->country = $country;
539 }
540
541
545 public function getCountry() {
546 return $this->country;
547 }
548
549
553 public function setCreateDate($create_date) {
554 $this->create_date = $create_date;
555 }
556
557
561 public function getCreateDate() {
562 return $this->create_date;
563 }
564
568 public function setDepartment($department) {
569 $this->department = $department;
570 }
571
572
576 public function getDepartment() {
577 return $this->department;
578 }
579
580
584 public function setEmail($email) {
585 $this->email = $email;
586 }
587
588
592 public function getEmail() {
593 return $this->email;
594 }
595
596
600 public function setExtAccount($ext_account) {
601 $this->ext_account = $ext_account;
602 }
603
604
608 public function getExtAccount() {
609 return $this->ext_account;
610 }
611
612
616 public function setFax($fax) {
617 $this->fax = $fax;
618 }
619
620
624 public function getFax() {
625 return $this->fax;
626 }
627
628
632 public function setFeedHash($feed_hash) {
633 $this->feed_hash = $feed_hash;
634 }
635
636
640 public function getFeedHash() {
641 return $this->feed_hash;
642 }
643
644
648 public function setFirstname($firstname) {
649 $this->firstname = $firstname;
650 }
651
652
656 public function getFirstname() {
657 return $this->firstname;
658 }
659
660
664 public function setGender($gender) {
665 $this->gender = $gender;
666 }
667
668
672 public function getGender() {
673 return $this->gender;
674 }
675
676
680 public function setHobby($hobby) {
681 $this->hobby = $hobby;
682 }
683
684
688 public function getHobby() {
689 return $this->hobby;
690 }
691
692
696 public function setI2passwd($i2passwd) {
697 $this->i2passwd = $i2passwd;
698 }
699
700
704 public function getI2passwd() {
705 return $this->i2passwd;
706 }
707
712 $this->inactivation_date = $inactivation_date;
713 }
714
715
719 public function getInactivationDate() {
721 }
722
723
727 public function setInstitution($institution) {
728 $this->institution = $institution;
729 }
730
731
735 public function getInstitution() {
736 return $this->institution;
737 }
738
739
744 $this->is_self_registered = $is_self_registered;
745 }
746
747
751 public function getIsSelfRegistered() {
753 }
754
755
759 public function setLastLogin($last_login) {
760 $this->last_login = $last_login;
761 }
762
763
767 public function getLastLogin() {
768 return $this->last_login;
769 }
770
771
776 $this->last_password_change = $last_password_change;
777 }
778
779
783 public function getLastPasswordChange() {
785 }
786
787
791 public function setLastUpdate($last_update) {
792 $this->last_update = $last_update;
793 }
794
795
799 public function getLastUpdate() {
800 return $this->last_update;
801 }
802
803
807 public function setLastVisited($last_visited) {
808 $this->last_visited = $last_visited;
809 }
810
811
815 public function getLastVisited() {
816 return $this->last_visited;
817 }
818
819
823 public function setLastname($lastname) {
824 $this->lastname = $lastname;
825 }
826
827
831 public function getLastname() {
832 return $this->lastname;
833 }
834
835
839 public function setLatitude($latitude) {
840 $this->latitude = $latitude;
841 }
842
843
847 public function getLatitude() {
848 return $this->latitude;
849 }
850
851
855 public function setLocZoom($loc_zoom) {
856 $this->loc_zoom = $loc_zoom;
857 }
858
859
863 public function getLocZoom() {
864 return $this->loc_zoom;
865 }
866
867
871 public function setLogin($login) {
872 $this->login = $login;
873 }
874
875
879 public function getLogin() {
880 return $this->login;
881 }
882
883
888 $this->login_attempts = $login_attempts;
889 }
890
891
895 public function getLoginAttempts() {
897 }
898
899
903 public function setLongitude($longitude) {
904 $this->longitude = $longitude;
905 }
906
907
911 public function getLongitude() {
912 return $this->longitude;
913 }
914
915
920 $this->matriculation = $matriculation;
921 }
922
923
927 public function getMatriculation() {
929 }
930
931
935 public function setPasswd($passwd) {
936 $this->passwd = $passwd;
937 }
938
939
943 public function getPasswd() {
944 return $this->passwd;
945 }
946
947
951 public function setPhoneHome($phone_home) {
952 $this->phone_home = $phone_home;
953 }
954
955
959 public function getPhoneHome() {
960 return $this->phone_home;
961 }
962
963
967 public function setPhoneMobile($phone_mobile) {
968 $this->phone_mobile = $phone_mobile;
969 }
970
971
975 public function getPhoneMobile() {
976 return $this->phone_mobile;
977 }
978
979
983 public function setPhoneOffice($phone_office) {
984 $this->phone_office = $phone_office;
985 }
986
987
991 public function getPhoneOffice() {
992 return $this->phone_office;
993 }
994
995
1000 $this->profile_incomplete = $profile_incomplete;
1001 }
1002
1003
1007 public function getProfileIncomplete() {
1009 }
1010
1011
1016 $this->referral_comment = $referral_comment;
1017 }
1018
1019
1023 public function getReferralComment() {
1025 }
1026
1027
1031 public function setRegHash($reg_hash) {
1032 $this->reg_hash = $reg_hash;
1033 }
1034
1035
1039 public function getRegHash() {
1040 return $this->reg_hash;
1041 }
1042
1043
1047 public function setSelCountry($sel_country) {
1048 $this->sel_country = $sel_country;
1049 }
1050
1051
1055 public function getSelCountry() {
1056 return $this->sel_country;
1057 }
1058
1059
1063 public function setStreet($street) {
1064 $this->street = $street;
1065 }
1066
1067
1071 public function getStreet() {
1072 return $this->street;
1073 }
1074
1075
1080 $this->time_limit_from = $time_limit_from;
1081 }
1082
1083
1087 public function getTimeLimitFrom() {
1089 }
1090
1091
1096 $this->time_limit_message = $time_limit_message;
1097 }
1098
1099
1103 public function getTimeLimitMessage() {
1105 }
1106
1107
1112 $this->time_limit_owner = $time_limit_owner;
1113 }
1114
1115
1119 public function getTimeLimitOwner() {
1121 }
1122
1123
1128 $this->time_limit_unlimited = $time_limit_unlimited;
1129 }
1130
1131
1135 public function getTimeLimitUnlimited() {
1137 }
1138
1139
1144 $this->time_limit_until = $time_limit_until;
1145 }
1146
1147
1151 public function getTimeLimitUntil() {
1153 }
1154
1155
1159 public function setTitle($title) {
1160 $this->title = $title;
1161 }
1162
1163
1167 public function getTitle() {
1168 return $this->title;
1169 }
1170
1171
1175 public function setUsrId($usr_id) {
1176 $this->usr_id = $usr_id;
1177 }
1178
1179
1183 public function getUsrId() {
1184 return $this->usr_id;
1185 }
1186
1187
1191 public function setZipcode($zipcode) {
1192 $this->zipcode = $zipcode;
1193 }
1194
1195
1199 public function getZipcode() {
1200 return $this->zipcode;
1201 }
1202
1203
1207 public function setKey($key) {
1208 $this->key = $key;
1209 }
1210
1211
1215 public function getKey() {
1216 return $this->key;
1217 }
1218}
1219
1220?>
Class ActiveRecord.
An exception for terminatinating execution or to throw for unit testing.
Class arUser.
setKey($key)
setPhoneOffice($phone_office)
setTitle($title)
setInstitution($institution)
setActive($active)
getFirstname()
getLoginAttempts()
setTimeLimitUnlimited($time_limit_unlimited)
setLoginAttempts($login_attempts)
setInactivationDate($inactivation_date)
setLocZoom($loc_zoom)
getLastLogin()
getProfileIncomplete()
setLastVisited($last_visited)
setDepartment($department)
setI2passwd($i2passwd)
setReferralComment($referral_comment)
setProfileIncomplete($profile_incomplete)
setLatitude($latitude)
setCity($city)
getLastUpdate()
setLastname($lastname)
setLongitude($longitude)
setMatriculation($matriculation)
getLastVisited()
setCreateDate($create_date)
setCountry($country)
setBirthday($birthday)
setFeedHash($feed_hash)
setUsrId($usr_id)
getTimeLimitMessage()
getTimeLimitUnlimited()
getPhoneOffice()
getLastPasswordChange()
getTimeLimitOwner()
setTimeLimitUntil($time_limit_until)
getMatriculation()
setStreet($street)
setClientIp($client_ip)
getAgreeDate()
getLongitude()
$time_limit_unlimited
$profile_incomplete
getCreateDate()
setPhoneMobile($phone_mobile)
setIsSelfRegistered($is_self_registered)
setRegHash($reg_hash)
setLastPasswordChange($last_password_change)
getApproveDate()
getReferralComment()
$time_limit_message
getInactivationDate()
setAuthMode($auth_mode)
getIsSelfRegistered()
getInstitution()
setLogin($login)
setFirstname($firstname)
setLastUpdate($last_update)
static returnDbTableName()
setTimeLimitMessage($time_limit_message)
setAgreeDate($agree_date)
$is_self_registered
setApproveDate($approve_date)
getExtAccount()
setGender($gender)
setTimeLimitOwner($time_limit_owner)
getDepartment()
getTimeLimitFrom()
$last_password_change
getPhoneMobile()
setZipcode($zipcode)
setFax($fax)
setTimeLimitFrom($time_limit_from)
setPasswd($passwd)
setSelCountry($sel_country)
$inactivation_date
getTimeLimitUntil()
setLastLogin($last_login)
setExtAccount($ext_account)
setPhoneHome($phone_home)
setHobby($hobby)
setEmail($email)
getPhoneHome()