ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
shibServerData Class Reference

Class shibServerData. More...

+ Inheritance diagram for shibServerData:
+ Collaboration diagram for shibServerData:

Static Public Member Functions

static getInstance (array $data)
- Static Public Member Functions inherited from shibConfig
static getInstance ()

Protected Member Functions

 __construct (array $data)

Static Protected Attributes

static $cache = NULL
- Static Protected Attributes inherited from shibConfig
static $cache = NULL

Additional Inherited Members

- Public Member Functions inherited from shibConfig
 getValueByKey ($key)
 setCity ($city)
 getCity ()
 setCountry ($country)
 getCountry ()
 setDataConv ($data_conv)
 getDataConv ()
 setDepartment ($department)
 getDepartment ()
 setEmail ($email)
 getEmail ()
 setFax ($fax)
 getFax ()
 setFirstname ($firstname)
 getFirstname ()
 setGender ($gender)
 getGender ()
 setHobby ($hobby)
 getHobby ()
 setInstitution ($institution)
 getInstitution ()
 setLanguage ($language)
 getLanguage ()
 setLastname ($lastname)
 getLastname ()
 setLogin ($login)
 getLogin ()
 setMatriculation ($matriculation)
 getMatriculation ()
 setPhoneHome ($phone_home)
 getPhoneHome ()
 setPhoneMobile ($phone_mobile)
 getPhoneMobile ()
 setPhoneOffice ($phone_office)
 getPhoneOffice ()
 setStreet ($street)
 getStreet ()
 setTitle ($title)
 getTitle ()
 setUpdateCity ($update_city)
 getUpdateCity ()
 setUpdateCountry ($update_country)
 getUpdateCountry ()
 setUpdateDataConv ($update_data_conv)
 getUpdateDataConv ()
 setUpdateDepartment ($update_department)
 getUpdateDepartment ()
 setUpdateEmail ($update_email)
 getUpdateEmail ()
 setUpdateFax ($update_fax)
 getUpdateFax ()
 setUpdateGender ($update_gender)
 getUpdateGender ()
 setUpdateHobby ($update_hobby)
 getUpdateHobby ()
 setUpdateInstitution ($update_institution)
 getUpdateInstitution ()
 setUpdateLanguage ($update_language)
 getUpdateLanguage ()
 setUpdateLogin ($update_login)
 getUpdateLogin ()
 setUpdateMatriculation ($update_matriculation)
 getUpdateMatriculation ()
 setUpdatePhoneHome ($update_phone_home)
 getUpdatePhoneHome ()
 setUpdatePhoneMobile ($update_phone_mobile)
 getUpdatePhoneMobile ()
 setUpdatePhoneOffice ($update_phone_office)
 getUpdatePhoneOffice ()
 setUpdateStreet ($update_street)
 getUpdateStreet ()
 setUpdateTitle ($update_title)
 getUpdateTitle ()
 setUpdateZipcode ($update_zipcode)
 getUpdateZipcode ()
 setZipcode ($zipcode)
 getZipcode ()
 setUserDefaultRole ($user_default_role)
 getUserDefaultRole ()
 setUpdateFirstname ($update_firstname)
 getUpdateFirstname ()
 setUpdateLastname ($update_lastname)
 getUpdateLastname ()
- Protected Attributes inherited from shibConfig
 $firstname = ''
 $update_firstname = false
 $lastname = ''
 $update_lastname = false
 $gender = ''
 $update_gender = false
 $login = ''
 $update_login = false
 $title = ''
 $update_title
 $institution = ''
 $update_institution = false
 $department = ''
 $update_department = false
 $street = ''
 $update_street = false
 $city = ''
 $update_city = false
 $zipcode = 0
 $update_zipcode = false
 $country = ''
 $update_country = false
 $phone_office = ''
 $update_phone_office = false
 $phone_home = ''
 $update_phone_home = false
 $phone_mobile = ''
 $update_phone_mobile = false
 $fax = ''
 $update_fax = false
 $matriculation = ''
 $update_matriculation = false
 $email = ''
 $update_email = false
 $hobby = ''
 $update_hobby = false
 $language = ''
 $update_language = false
 $data_conv = ''
 $update_data_conv = false
 $user_default_role = 4

Detailed Description

Constructor & Destructor Documentation

shibServerData::__construct ( array  $data)
protected
Parameters
array$data

Definition at line 20 of file class.shibServerData.php.

References shibConfig\getInstance().

{
$shibConfig = shibConfig::getInstance();
foreach (array_keys(get_class_vars('shibConfig')) as $field) {
$str = $shibConfig->getValueByKey($field);
if ($str !== NULL) {
$this->{$field} = $data[$str];
}
}
}

+ Here is the call graph for this function:

Member Function Documentation

static shibServerData::getInstance ( array  $data)
static
Parameters
array$data
Returns
shibServerData

Definition at line 36 of file class.shibServerData.php.

References $cache.

{
if (! isset(self::$cache)) {
self::$cache = new self($data);
}
return self::$cache;
}

Field Documentation

shibServerData::$cache = NULL
staticprotected

Definition at line 14 of file class.shibServerData.php.

Referenced by getInstance().


The documentation for this class was generated from the following file: