--- /dev/null
+<?php
+/**
+ *
+ *
+ * @package MoodleWS
+ * @copyright (c) P.Pollet 2007 under GPL
+ */
+class userDatum {
+ /**
+ * @var string
+ */
+ public $action;
+ /**
+ * @var integer
+ */
+ public $confirmed;
+ /**
+ * @var integer
+ */
+ public $policyagreed;
+ /**
+ * @var integer
+ */
+ public $deleted;
+ /**
+ * @var string
+ */
+ public $username;
+ /**
+ * @var string
+ */
+ public $auth;
+ /**
+ * @var string
+ */
+ public $password;
+ /**
+ * @var string
+ */
+ public $idnumber;
+ /**
+ * @var string
+ */
+ public $firstname;
+ /**
+ * @var string
+ */
+ public $lastname;
+ /**
+ * @var string
+ */
+ public $email;
+ /**
+ * @var string
+ */
+ public $icq;
+ /**
+ * @var string
+ */
+ public $skype;
+ /**
+ * @var string
+ */
+ public $yahoo;
+ /**
+ * @var string
+ */
+ public $aim;
+ /**
+ * @var string
+ */
+ public $msn;
+ /**
+ * @var string
+ */
+ public $phone1;
+ /**
+ * @var string
+ */
+ public $phone2;
+ /**
+ * @var string
+ */
+ public $institution;
+ /**
+ * @var string
+ */
+ public $department;
+ /**
+ * @var string
+ */
+ public $address;
+ /**
+ * @var string
+ */
+ public $city;
+ /**
+ * @var string
+ */
+ public $country;
+ /**
+ * @var string
+ */
+ public $lang;
+ /**
+ * @var integer
+ */
+ public $timezone;
+ /**
+ * @var string
+ */
+ public $lastip;
+ /**
+ * @var string
+ */
+ public $description;
+ /**
+ * @var integer
+ */
+ public $mnethostid;
+ /* full constructor */
+ public function userDatum($action='',$confirmed=0,$policyagreed=0,$deleted=0,$username='',$auth='',$password='',$idnumber='',$firstname='',$lastname='',$email='',$icq='',$skype='',$yahoo='',$aim='',$msn='',$phone1='',$phone2='',$institution='',$department='',$address='',$city='',$country='',$lang='',$timezone=0,$lastip='',$description='',$mnethostid=0){
+ $this->action=$action ;
+ $this->confirmed=$confirmed ;
+ $this->policyagreed=$policyagreed ;
+ $this->deleted=$deleted ;
+ $this->username=$username ;
+ $this->auth=$auth ;
+ $this->password=$password ;
+ $this->idnumber=$idnumber ;
+ $this->firstname=$firstname ;
+ $this->lastname=$lastname ;
+ $this->email=$email ;
+ $this->icq=$icq ;
+ $this->skype=$skype ;
+ $this->yahoo=$yahoo ;
+ $this->aim=$aim ;
+ $this->msn=$msn ;
+ $this->phone1=$phone1 ;
+ $this->phone2=$phone2 ;
+ $this->institution=$institution ;
+ $this->department=$department ;
+ $this->address=$address ;
+ $this->city=$city ;
+ $this->country=$country ;
+ $this->lang=$lang ;
+ $this->timezone=$timezone ;
+ $this->lastip=$lastip ;
+ $this->description=$description ;
+ $this->mnethostid=$mnethostid ;
+ }
+ /* get accessors */
+ public function getAction(){
+ return $this->action;
+ }
+
+ public function getConfirmed(){
+ return $this->confirmed;
+ }
+
+ public function getPolicyagreed(){
+ return $this->policyagreed;
+ }
+
+ public function getDeleted(){
+ return $this->deleted;
+ }
+
+ public function getUsername(){
+ return $this->username;
+ }
+
+ public function getAuth(){
+ return $this->auth;
+ }
+
+ public function getPassword(){
+ return $this->password;
+ }
+
+ public function getIdnumber(){
+ return $this->idnumber;
+ }
+
+ public function getFirstname(){
+ return $this->firstname;
+ }
+
+ public function getLastname(){
+ return $this->lastname;
+ }
+
+ public function getEmail(){
+ return $this->email;
+ }
+
+ public function getIcq(){
+ return $this->icq;
+ }
+
+ public function getSkype(){
+ return $this->skype;
+ }
+
+ public function getYahoo(){
+ return $this->yahoo;
+ }
+
+ public function getAim(){
+ return $this->aim;
+ }
+
+ public function getMsn(){
+ return $this->msn;
+ }
+
+ public function getPhone1(){
+ return $this->phone1;
+ }
+
+ public function getPhone2(){
+ return $this->phone2;
+ }
+
+ public function getInstitution(){
+ return $this->institution;
+ }
+
+ public function getDepartment(){
+ return $this->department;
+ }
+
+ public function getAddress(){
+ return $this->address;
+ }
+
+ public function getCity(){
+ return $this->city;
+ }
+
+ public function getCountry(){
+ return $this->country;
+ }
+
+ public function getLang(){
+ return $this->lang;
+ }
+
+ public function getTimezone(){
+ return $this->timezone;
+ }
+
+ public function getLastip(){
+ return $this->lastip;
+ }
+
+ public function getDescription(){
+ return $this->description;
+ }
+
+ public function getMnethostid(){
+ return $this->mnethostid;
+ }
+
+ /*set accessors */
+ public function setAction($action){
+ $this->action=$action;
+ }
+
+ public function setConfirmed($confirmed){
+ $this->confirmed=$confirmed;
+ }
+
+ public function setPolicyagreed($policyagreed){
+ $this->policyagreed=$policyagreed;
+ }
+
+ public function setDeleted($deleted){
+ $this->deleted=$deleted;
+ }
+
+ public function setUsername($username){
+ $this->username=$username;
+ }
+
+ public function setAuth($auth){
+ $this->auth=$auth;
+ }
+
+ public function setPassword($password){
+ $this->password=$password;
+ }
+
+ public function setIdnumber($idnumber){
+ $this->idnumber=$idnumber;
+ }
+
+ public function setFirstname($firstname){
+ $this->firstname=$firstname;
+ }
+
+ public function setLastname($lastname){
+ $this->lastname=$lastname;
+ }
+
+ public function setEmail($email){
+ $this->email=$email;
+ }
+
+ public function setIcq($icq){
+ $this->icq=$icq;
+ }
+
+ public function setSkype($skype){
+ $this->skype=$skype;
+ }
+
+ public function setYahoo($yahoo){
+ $this->yahoo=$yahoo;
+ }
+
+ public function setAim($aim){
+ $this->aim=$aim;
+ }
+
+ public function setMsn($msn){
+ $this->msn=$msn;
+ }
+
+ public function setPhone1($phone1){
+ $this->phone1=$phone1;
+ }
+
+ public function setPhone2($phone2){
+ $this->phone2=$phone2;
+ }
+
+ public function setInstitution($institution){
+ $this->institution=$institution;
+ }
+
+ public function setDepartment($department){
+ $this->department=$department;
+ }
+
+ public function setAddress($address){
+ $this->address=$address;
+ }
+
+ public function setCity($city){
+ $this->city=$city;
+ }
+
+ public function setCountry($country){
+ $this->country=$country;
+ }
+
+ public function setLang($lang){
+ $this->lang=$lang;
+ }
+
+ public function setTimezone($timezone){
+ $this->timezone=$timezone;
+ }
+
+ public function setLastip($lastip){
+ $this->lastip=$lastip;
+ }
+
+ public function setDescription($description){
+ $this->description=$description;
+ }
+
+ public function setMnethostid($mnethostid){
+ $this->mnethostid=$mnethostid;
+ }
+
+}
+
+?>