Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439 Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
33 lines
761 B
PHP
33 lines
761 B
PHP
<?php
|
|
|
|
namespace Shibboleth;
|
|
|
|
/**
|
|
* Represent a Shibboleth user. Not to be missunderstand with a Chamilo user
|
|
* since they don't have the same attributes.
|
|
*
|
|
* @license see /license.txt
|
|
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
|
|
*/
|
|
class ShibbolethUser
|
|
{
|
|
|
|
public $unique_id = '';
|
|
public $firstname = '';
|
|
public $lastname = '';
|
|
public $email = '';
|
|
public $language = '';
|
|
public $gender = '';
|
|
public $address = '';
|
|
public $staff_category = '';
|
|
public $home_organization_type = '';
|
|
public $home_organization = '';
|
|
public $affiliation = '';
|
|
public $persistent_id = '';
|
|
|
|
public function is_empty()
|
|
{
|
|
return empty($this->unique_id);
|
|
}
|
|
|
|
} |