ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilECSParticipantSetting Class Reference
+ Collaboration diagram for ilECSParticipantSetting:

Public Member Functions

 __construct (int $a_server_id, int $mid)
 
 getServerId ()
 Get server id. More...
 
 setMid (int $a_mid)
 
 getMid ()
 
 enableExport (bool $a_status)
 
 isExportEnabled ()
 
 enableImport (bool $a_status)
 
 isImportEnabled ()
 
 setImportType (int $a_type)
 
 getImportType ()
 
 setTitle (string $a_title)
 
 getTitle ()
 
 getCommunityName ()
 
 setCommunityName (string $a_name)
 
 isTokenEnabled ()
 
 enableToken (bool $a_stat)
 
 setExportTypes (array $a_types)
 
 getExportTypes ()
 
 getOutgoingUsernamePlaceholders ()
 
 setOutgoingUsernamePlaceholders (array $a_username_placeholders)
 
 getOutgoingUsernamePlaceholderByAuthMode (string $auth_mode)
 
 areIncomingLocalAccountsSupported ()
 
 enableIncomingLocalAccounts (bool $a_status)
 
 setIncomingAuthType (int $incoming_auth_type)
 
 getIncomingAuthType ()
 
 setOutgoingAuthModes (array $auth_modes)
 
 getOutgoingAuthModes ()
 
 getOutgoingExternalAuthModes ()
 
 isOutgoingAuthModeEnabled (string $auth_mode)
 
 setImportTypes (array $a_types)
 
 getImportTypes ()
 
 validate ()
 
 update ()
 Update Calls create automatically when no entry exists. More...
 
 delete ()
 Delete one participant entry. More...
 

Static Public Member Functions

static getInstance (int $a_server_id, int $mid)
 Get instance by server id and mid. More...
 

Data Fields

const AUTH_VERSION_4 = 1
 
const AUTH_VERSION_5 = 2
 
const PERSON_EPPN = 1
 
const PERSON_LUID = 2
 
const PERSON_LOGIN = 3
 
const PERSON_UID = 4
 
const LOGIN_PLACEHOLDER = '[LOGIN]'
 
const EXTERNAL_ACCOUNT_PLACEHOLDER = '[EXTERNAL_ACCOUNT]'
 
const INCOMING_AUTH_TYPE_INACTIVE = 0
 
const INCOMING_AUTH_TYPE_LOGIN_PAGE = 1
 
const INCOMING_AUTH_TYPE_SHIBBOLETH = 2
 
const OUTGOING_AUTH_MODE_DEFAULT = 'default'
 
const VALIDATION_OK = 0
 
const ERR_MISSING_USERNAME_PLACEHOLDER = 1
 
const IMPORT_UNCHANGED = 0
 
const IMPORT_RCRS = 1
 
const IMPORT_CRS = 2
 
const IMPORT_CMS = 3
 

Static Protected Attributes

static array $instances = []
 

Private Member Functions

 exists ()
 
 create ()
 
 read ()
 Read stored entry. More...
 

Private Attributes

int $server_id
 
int $mid
 
bool $export = false
 
bool $import = false
 
int $import_type = 1
 
string $title = ''
 
string $cname = ''
 
bool $token = true
 
bool $dtoken = true
 
int $auth_version = self::AUTH_VERSION_4
 
int $person_type = self::PERSON_UID
 
array $export_types = array()
 
array $import_types = array()
 
array $username_placeholders = []
 
bool $incoming_local_accounts = true
 
int $incoming_auth_type = self::INCOMING_AUTH_TYPE_INACTIVE
 
array $outgoing_auth_modes = []
 
bool $exists = false
 
ilDBInterface $db
 

Detailed Description

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 24 of file class.ilECSParticipantSetting.php.

Constructor & Destructor Documentation

◆ __construct()

ilECSParticipantSetting::__construct ( int  $a_server_id,
int  $mid 
)

Definition at line 84 of file class.ilECSParticipantSetting.php.

References $DIC, $mid, and read().

85  {
86  global $DIC;
87 
88  $this->db = $DIC->database();
89 
90  $this->server_id = $a_server_id;
91  $this->mid = $mid;
92  $this->read();
93  }
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:

Member Function Documentation

◆ areIncomingLocalAccountsSupported()

ilECSParticipantSetting::areIncomingLocalAccountsSupported ( )

Definition at line 215 of file class.ilECSParticipantSetting.php.

References $incoming_local_accounts.

Referenced by create(), and update().

215  : bool
216  {
218  }
+ Here is the caller graph for this function:

◆ create()

ilECSParticipantSetting::create ( )
private

Definition at line 327 of file class.ilECSParticipantSetting.php.

References areIncomingLocalAccountsSupported(), getCommunityName(), getExportTypes(), getImportType(), getImportTypes(), getIncomingAuthType(), getMid(), getOutgoingAuthModes(), getOutgoingUsernamePlaceholders(), getServerId(), getTitle(), isExportEnabled(), isImportEnabled(), isTokenEnabled(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.

Referenced by update().

327  : bool
328  {
329  $query = 'INSERT INTO ecs_part_settings ' .
330  '(sid,mid,export,import,import_type,title,cname,token,export_types, import_types, username_placeholders, incoming_auth_type, incoming_local_accounts, outgoing_auth_modes) ' .
331  'VALUES( ' .
332  $this->db->quote($this->getServerId(), 'integer') . ', ' .
333  $this->db->quote($this->getMid(), 'integer') . ', ' .
334  $this->db->quote((int) $this->isExportEnabled(), 'integer') . ', ' .
335  $this->db->quote((int) $this->isImportEnabled(), 'integer') . ', ' .
336  $this->db->quote($this->getImportType(), 'integer') . ', ' .
337  $this->db->quote($this->getTitle(), 'text') . ', ' .
338  $this->db->quote($this->getCommunityName(), 'text') . ', ' .
339  $this->db->quote($this->isTokenEnabled(), 'integer') . ', ' .
340  $this->db->quote(serialize($this->getExportTypes()), 'text') . ', ' .
341  $this->db->quote(serialize($this->getImportTypes()), 'text') . ' ' .
342  $this->db->quote(serialize($this->getImportTypes()), 'text') . ', ' .
343  $this->db->quote(serialize($this->getOutgoingUsernamePlaceholders()), ilDBConstants::T_TEXT) . ', ' .
344  $this->db->quote($this->areIncomingLocalAccountsSupported(), ilDBConstants::T_INTEGER) . ', ' .
345  $this->db->quote($this->getIncomingAuthType(), ilDBConstants::T_INTEGER) . ', ' .
346  $this->db->quote(serialize($this->getOutgoingAuthModes()), ilDBConstants::T_TEXT) . ' ' .
347  ')';
348  $this->db->manipulate($query);
349  return true;
350  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ delete()

ilECSParticipantSetting::delete ( )

Delete one participant entry.

Definition at line 355 of file class.ilECSParticipantSetting.php.

References getMid(), and getServerId().

Referenced by ilECSSettingsGUI\refreshParticipants().

355  : bool
356  {
357  $query = 'DELETE FROM ecs_part_settings ' .
358  'WHERE sid = ' . $this->db->quote($this->getServerId(), 'integer') . ' ' .
359  'AND mid = ' . $this->db->quote($this->getMid(), 'integer');
360  $this->db->manipulate($query);
361  return true;
362  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ enableExport()

ilECSParticipantSetting::enableExport ( bool  $a_status)

Definition at line 128 of file class.ilECSParticipantSetting.php.

Referenced by read().

128  : void
129  {
130  $this->export = $a_status;
131  }
+ Here is the caller graph for this function:

◆ enableImport()

ilECSParticipantSetting::enableImport ( bool  $a_status)

Definition at line 138 of file class.ilECSParticipantSetting.php.

Referenced by read().

138  : void
139  {
140  $this->import = $a_status;
141  }
+ Here is the caller graph for this function:

◆ enableIncomingLocalAccounts()

ilECSParticipantSetting::enableIncomingLocalAccounts ( bool  $a_status)

Definition at line 220 of file class.ilECSParticipantSetting.php.

Referenced by read().

220  : void
221  {
222  $this->incoming_local_accounts = $a_status;
223  }
+ Here is the caller graph for this function:

◆ enableToken()

ilECSParticipantSetting::enableToken ( bool  $a_stat)

Definition at line 185 of file class.ilECSParticipantSetting.php.

Referenced by read().

185  : void
186  {
187  $this->token = $a_stat;
188  }
+ Here is the caller graph for this function:

◆ exists()

ilECSParticipantSetting::exists ( )
private

Definition at line 274 of file class.ilECSParticipantSetting.php.

References $exists.

Referenced by read(), and update().

274  : bool
275  {
276  return $this->exists;
277  }
+ Here is the caller graph for this function:

◆ getCommunityName()

ilECSParticipantSetting::getCommunityName ( )

Definition at line 170 of file class.ilECSParticipantSetting.php.

References $cname.

Referenced by create(), and update().

170  : string
171  {
172  return $this->cname;
173  }
+ Here is the caller graph for this function:

◆ getExportTypes()

ilECSParticipantSetting::getExportTypes ( )

Definition at line 195 of file class.ilECSParticipantSetting.php.

References $export_types.

Referenced by create(), and update().

195  : array
196  {
197  return $this->export_types;
198  }
+ Here is the caller graph for this function:

◆ getImportType()

ilECSParticipantSetting::getImportType ( )

Definition at line 155 of file class.ilECSParticipantSetting.php.

References $import_type.

Referenced by create(), and update().

155  : int
156  {
157  return $this->import_type;
158  }
+ Here is the caller graph for this function:

◆ getImportTypes()

ilECSParticipantSetting::getImportTypes ( )

Definition at line 269 of file class.ilECSParticipantSetting.php.

References $import_types.

Referenced by create(), and update().

269  : array
270  {
271  return $this->import_types;
272  }
+ Here is the caller graph for this function:

◆ getIncomingAuthType()

ilECSParticipantSetting::getIncomingAuthType ( )

Definition at line 230 of file class.ilECSParticipantSetting.php.

References $incoming_auth_type.

Referenced by create(), and update().

230  : int
231  {
233  }
+ Here is the caller graph for this function:

◆ getInstance()

static ilECSParticipantSetting::getInstance ( int  $a_server_id,
int  $mid 
)
static

Get instance by server id and mid.

Parameters
int$a_server_id
int$mid
Returns
ilECSParticipantSetting

Definition at line 101 of file class.ilECSParticipantSetting.php.

References $mid.

Referenced by ilECSCmsCourseMemberCommandQueueHandler\checkAllocationActivation(), ilECSCmsCourseCommandQueueHandler\checkAllocationActivation(), ilRemoteObjectBase\getFullRemoteLink(), and ilECSAppEventListener\handleNewAccountCreation().

102  {
103  if (!isset(self::$instances[$a_server_id . '_' . $mid])) {
104  return self::$instances[$a_server_id . '_' . $mid] = new self($a_server_id, $mid);
105  }
106  return self::$instances[$a_server_id . '_' . $mid];
107  }
+ Here is the caller graph for this function:

◆ getMid()

ilECSParticipantSetting::getMid ( )

Definition at line 123 of file class.ilECSParticipantSetting.php.

References $mid.

Referenced by create(), delete(), read(), and update().

123  : int
124  {
125  return $this->mid;
126  }
+ Here is the caller graph for this function:

◆ getOutgoingAuthModes()

ilECSParticipantSetting::getOutgoingAuthModes ( )

Definition at line 240 of file class.ilECSParticipantSetting.php.

References $outgoing_auth_modes.

Referenced by create(), getOutgoingExternalAuthModes(), isOutgoingAuthModeEnabled(), update(), and validate().

240  : array
241  {
243  }
+ Here is the caller graph for this function:

◆ getOutgoingExternalAuthModes()

ilECSParticipantSetting::getOutgoingExternalAuthModes ( )
Returns
string[]

Definition at line 248 of file class.ilECSParticipantSetting.php.

References getOutgoingAuthModes().

Referenced by ilECSUser\toGET().

248  : array
249  {
250  return array_filter(
251  $this->getOutgoingAuthModes(),
252  static function (string $auth_mode): bool {
253  return $auth_mode !== self::OUTGOING_AUTH_MODE_DEFAULT;
254  }
255  );
256  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getOutgoingUsernamePlaceholderByAuthMode()

ilECSParticipantSetting::getOutgoingUsernamePlaceholderByAuthMode ( string  $auth_mode)

Definition at line 210 of file class.ilECSParticipantSetting.php.

References getOutgoingUsernamePlaceholders().

Referenced by ilECSUser\toGET(), and validate().

210  : string
211  {
212  return $this->getOutgoingUsernamePlaceholders()[$auth_mode] ?? '';
213  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getOutgoingUsernamePlaceholders()

ilECSParticipantSetting::getOutgoingUsernamePlaceholders ( )

Definition at line 200 of file class.ilECSParticipantSetting.php.

References $username_placeholders.

Referenced by create(), getOutgoingUsernamePlaceholderByAuthMode(), and update().

200  : array
201  {
203  }
+ Here is the caller graph for this function:

◆ getServerId()

ilECSParticipantSetting::getServerId ( )

Get server id.

Definition at line 113 of file class.ilECSParticipantSetting.php.

References $server_id.

Referenced by create(), delete(), read(), and update().

113  : int
114  {
115  return $this->server_id;
116  }
+ Here is the caller graph for this function:

◆ getTitle()

ilECSParticipantSetting::getTitle ( )

Definition at line 165 of file class.ilECSParticipantSetting.php.

References $title.

Referenced by create(), and update().

165  : string
166  {
167  return $this->title;
168  }
+ Here is the caller graph for this function:

◆ isExportEnabled()

ilECSParticipantSetting::isExportEnabled ( )

Definition at line 133 of file class.ilECSParticipantSetting.php.

References $export.

Referenced by create(), and update().

133  : bool
134  {
135  return $this->export;
136  }
+ Here is the caller graph for this function:

◆ isImportEnabled()

ilECSParticipantSetting::isImportEnabled ( )

Definition at line 143 of file class.ilECSParticipantSetting.php.

References $import.

Referenced by create(), and update().

143  : bool
144  {
145  return $this->import;
146  }
+ Here is the caller graph for this function:

◆ isOutgoingAuthModeEnabled()

ilECSParticipantSetting::isOutgoingAuthModeEnabled ( string  $auth_mode)

Definition at line 258 of file class.ilECSParticipantSetting.php.

References getOutgoingAuthModes().

258  : bool
259  {
260  return (bool) ($this->getOutgoingAuthModes()[$auth_mode] ?? false);
261  }
+ Here is the call graph for this function:

◆ isTokenEnabled()

ilECSParticipantSetting::isTokenEnabled ( )

Definition at line 180 of file class.ilECSParticipantSetting.php.

References $token.

Referenced by create(), and update().

180  : bool
181  {
182  return $this->token;
183  }
+ Here is the caller graph for this function:

◆ read()

ilECSParticipantSetting::read ( )
private

Read stored entry.

Definition at line 367 of file class.ilECSParticipantSetting.php.

References $res, enableExport(), enableImport(), enableIncomingLocalAccounts(), enableToken(), exists(), ilDBConstants\FETCHMODE_OBJECT, getMid(), getServerId(), setCommunityName(), setExportTypes(), setImportType(), setImportTypes(), setIncomingAuthType(), setOutgoingAuthModes(), setOutgoingUsernamePlaceholders(), and setTitle().

Referenced by __construct().

367  : void
368  {
369  $query = 'SELECT * FROM ecs_part_settings ' .
370  'WHERE sid = ' . $this->db->quote($this->getServerId(), 'integer') . ' ' .
371  'AND mid = ' . $this->db->quote($this->getMid(), 'integer');
372 
373  $res = $this->db->query($query);
374 
375  $this->exists = ($res->numRows() ? true : false);
376 
377  while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
378  $this->enableExport((bool) $row->export);
379  $this->enableImport((bool) $row->import);
380  $this->setImportType((int) $row->import_type);
381  $this->setTitle($row->title);
382  $this->setCommunityName($row->cname);
383  $this->enableToken((bool) $row->token);
384  $this->setExportTypes((array) unserialize($row->export_types, ['allowed_classes' => true]));
385  $this->setImportTypes((array) unserialize($row->import_types, ['allowed_classes' => true]));
386  $this->setOutgoingUsernamePlaceholders((array) unserialize((string) $row->username_placeholders, ['allowed_classes' => true]));
387  $this->setIncomingAuthType((int) $row->incoming_auth_type);
388  $this->enableIncomingLocalAccounts((bool) $row->incoming_local_accounts);
389  $this->setOutgoingAuthModes((array) unserialize((string) $row->outgoing_auth_modes, ['allowed_classes' => true]));
390  }
391  }
$res
Definition: ltiservices.php:66
setIncomingAuthType(int $incoming_auth_type)
setOutgoingUsernamePlaceholders(array $a_username_placeholders)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCommunityName()

ilECSParticipantSetting::setCommunityName ( string  $a_name)

Definition at line 175 of file class.ilECSParticipantSetting.php.

Referenced by read().

175  : void
176  {
177  $this->cname = $a_name;
178  }
+ Here is the caller graph for this function:

◆ setExportTypes()

ilECSParticipantSetting::setExportTypes ( array  $a_types)

Definition at line 190 of file class.ilECSParticipantSetting.php.

Referenced by read().

190  : void
191  {
192  $this->export_types = $a_types;
193  }
+ Here is the caller graph for this function:

◆ setImportType()

ilECSParticipantSetting::setImportType ( int  $a_type)

Definition at line 148 of file class.ilECSParticipantSetting.php.

Referenced by read().

148  : void
149  {
150  if ($a_type !== self::IMPORT_UNCHANGED) {
151  $this->import_type = $a_type;
152  }
153  }
+ Here is the caller graph for this function:

◆ setImportTypes()

ilECSParticipantSetting::setImportTypes ( array  $a_types)

Definition at line 264 of file class.ilECSParticipantSetting.php.

Referenced by read().

264  : void
265  {
266  $this->import_types = $a_types;
267  }
+ Here is the caller graph for this function:

◆ setIncomingAuthType()

ilECSParticipantSetting::setIncomingAuthType ( int  $incoming_auth_type)

Definition at line 225 of file class.ilECSParticipantSetting.php.

References $incoming_auth_type.

Referenced by read().

225  : void
226  {
227  $this->incoming_auth_type = $incoming_auth_type;
228  }
+ Here is the caller graph for this function:

◆ setMid()

ilECSParticipantSetting::setMid ( int  $a_mid)

Definition at line 118 of file class.ilECSParticipantSetting.php.

118  : void
119  {
120  $this->mid = $a_mid;
121  }

◆ setOutgoingAuthModes()

ilECSParticipantSetting::setOutgoingAuthModes ( array  $auth_modes)

Definition at line 235 of file class.ilECSParticipantSetting.php.

Referenced by read().

235  : void
236  {
237  $this->outgoing_auth_modes = $auth_modes;
238  }
+ Here is the caller graph for this function:

◆ setOutgoingUsernamePlaceholders()

ilECSParticipantSetting::setOutgoingUsernamePlaceholders ( array  $a_username_placeholders)

Definition at line 205 of file class.ilECSParticipantSetting.php.

Referenced by read().

205  : void
206  {
207  $this->username_placeholders = $a_username_placeholders;
208  }
+ Here is the caller graph for this function:

◆ setTitle()

ilECSParticipantSetting::setTitle ( string  $a_title)

Definition at line 160 of file class.ilECSParticipantSetting.php.

Referenced by read().

160  : void
161  {
162  $this->title = $a_title;
163  }
+ Here is the caller graph for this function:

◆ update()

ilECSParticipantSetting::update ( )

Update Calls create automatically when no entry exists.

Definition at line 300 of file class.ilECSParticipantSetting.php.

References areIncomingLocalAccountsSupported(), create(), exists(), getCommunityName(), getExportTypes(), getImportType(), getImportTypes(), getIncomingAuthType(), getMid(), getOutgoingAuthModes(), getOutgoingUsernamePlaceholders(), getServerId(), getTitle(), isExportEnabled(), isImportEnabled(), isTokenEnabled(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.

300  : bool
301  {
302  if (!$this->exists()) {
303  return $this->create();
304  }
305  $query = 'UPDATE ecs_part_settings ' .
306  'SET ' .
307  'sid = ' . $this->db->quote($this->getServerId(), 'integer') . ', ' .
308  'mid = ' . $this->db->quote($this->getMid(), 'integer') . ', ' .
309  'export = ' . $this->db->quote((int) $this->isExportEnabled(), 'integer') . ', ' .
310  'import = ' . $this->db->quote((int) $this->isImportEnabled(), 'integer') . ', ' .
311  'import_type = ' . $this->db->quote($this->getImportType(), 'integer') . ', ' .
312  'title = ' . $this->db->quote($this->getTitle(), 'text') . ', ' .
313  'cname = ' . $this->db->quote($this->getCommunityName(), 'text') . ', ' .
314  'token = ' . $this->db->quote($this->isTokenEnabled(), 'integer') . ', ' .
315  'export_types = ' . $this->db->quote(serialize($this->getExportTypes()), 'text') . ', ' .
316  'import_types = ' . $this->db->quote(serialize($this->getImportTypes()), ilDBConstants::T_TEXT) . ', ' .
317  'username_placeholders = ' . $this->db->quote(serialize($this->getOutgoingUsernamePlaceholders()), ilDBConstants::T_TEXT) . ', ' .
318  'incoming_local_accounts = ' . $this->db->quote($this->areIncomingLocalAccountsSupported(), ilDBConstants::T_INTEGER) . ', ' .
319  'incoming_auth_type = ' . $this->db->quote($this->getIncomingAuthType(), ilDBConstants::T_INTEGER) . ', ' .
320  'outgoing_auth_modes = ' . $this->db->quote(serialize($this->getOutgoingAuthModes()), ilDBConstants::T_TEXT) . ' ' .
321  'WHERE sid = ' . $this->db->quote($this->getServerId(), 'integer') . ' ' .
322  'AND mid = ' . $this->db->quote($this->getMid(), 'integer');
323  $this->db->manipulate($query);
324  return true;
325  }
+ Here is the call graph for this function:

◆ validate()

ilECSParticipantSetting::validate ( )

Definition at line 279 of file class.ilECSParticipantSetting.php.

References getOutgoingAuthModes(), and getOutgoingUsernamePlaceholderByAuthMode().

279  : int
280  {
281  foreach ($this->getOutgoingAuthModes() as $auth_mode) {
282  if ($auth_mode === self::OUTGOING_AUTH_MODE_DEFAULT) {
283  continue;
284  }
285  $placeholder = $this->getOutgoingUsernamePlaceholderByAuthMode($auth_mode);
286  if (
287  !stristr($placeholder, self::LOGIN_PLACEHOLDER) &&
288  !stristr($placeholder, self::EXTERNAL_ACCOUNT_PLACEHOLDER)
289  ) {
290  return self::ERR_MISSING_USERNAME_PLACEHOLDER;
291  }
292  }
293  return self::VALIDATION_OK;
294  }
getOutgoingUsernamePlaceholderByAuthMode(string $auth_mode)
+ Here is the call graph for this function:

Field Documentation

◆ $auth_version

int ilECSParticipantSetting::$auth_version = self::AUTH_VERSION_4
private

Definition at line 66 of file class.ilECSParticipantSetting.php.

◆ $cname

string ilECSParticipantSetting::$cname = ''
private

Definition at line 62 of file class.ilECSParticipantSetting.php.

Referenced by getCommunityName().

◆ $db

ilDBInterface ilECSParticipantSetting::$db
private

Definition at line 82 of file class.ilECSParticipantSetting.php.

◆ $dtoken

bool ilECSParticipantSetting::$dtoken = true
private

Definition at line 64 of file class.ilECSParticipantSetting.php.

◆ $exists

bool ilECSParticipantSetting::$exists = false
private

Definition at line 80 of file class.ilECSParticipantSetting.php.

Referenced by exists().

◆ $export

bool ilECSParticipantSetting::$export = false
private

Definition at line 58 of file class.ilECSParticipantSetting.php.

Referenced by isExportEnabled().

◆ $export_types

array ilECSParticipantSetting::$export_types = array()
private

Definition at line 70 of file class.ilECSParticipantSetting.php.

Referenced by getExportTypes().

◆ $import

bool ilECSParticipantSetting::$import = false
private

Definition at line 59 of file class.ilECSParticipantSetting.php.

Referenced by isImportEnabled().

◆ $import_type

int ilECSParticipantSetting::$import_type = 1
private

Definition at line 60 of file class.ilECSParticipantSetting.php.

Referenced by getImportType().

◆ $import_types

array ilECSParticipantSetting::$import_types = array()
private

Definition at line 71 of file class.ilECSParticipantSetting.php.

Referenced by getImportTypes().

◆ $incoming_auth_type

int ilECSParticipantSetting::$incoming_auth_type = self::INCOMING_AUTH_TYPE_INACTIVE
private

Definition at line 74 of file class.ilECSParticipantSetting.php.

Referenced by getIncomingAuthType(), and setIncomingAuthType().

◆ $incoming_local_accounts

bool ilECSParticipantSetting::$incoming_local_accounts = true
private

Definition at line 73 of file class.ilECSParticipantSetting.php.

Referenced by areIncomingLocalAccountsSupported().

◆ $instances

array ilECSParticipantSetting::$instances = []
staticprotected

Definition at line 47 of file class.ilECSParticipantSetting.php.

◆ $mid

int ilECSParticipantSetting::$mid
private

Definition at line 57 of file class.ilECSParticipantSetting.php.

Referenced by __construct(), getInstance(), and getMid().

◆ $outgoing_auth_modes

array ilECSParticipantSetting::$outgoing_auth_modes = []
private

Definition at line 78 of file class.ilECSParticipantSetting.php.

Referenced by getOutgoingAuthModes().

◆ $person_type

int ilECSParticipantSetting::$person_type = self::PERSON_UID
private

Definition at line 67 of file class.ilECSParticipantSetting.php.

◆ $server_id

int ilECSParticipantSetting::$server_id
private

Definition at line 56 of file class.ilECSParticipantSetting.php.

Referenced by getServerId().

◆ $title

string ilECSParticipantSetting::$title = ''
private

Definition at line 61 of file class.ilECSParticipantSetting.php.

Referenced by getTitle().

◆ $token

bool ilECSParticipantSetting::$token = true
private

Definition at line 63 of file class.ilECSParticipantSetting.php.

Referenced by isTokenEnabled().

◆ $username_placeholders

array ilECSParticipantSetting::$username_placeholders = []
private

Definition at line 72 of file class.ilECSParticipantSetting.php.

Referenced by getOutgoingUsernamePlaceholders().

◆ AUTH_VERSION_4

const ilECSParticipantSetting::AUTH_VERSION_4 = 1

Definition at line 26 of file class.ilECSParticipantSetting.php.

◆ AUTH_VERSION_5

const ilECSParticipantSetting::AUTH_VERSION_5 = 2

Definition at line 27 of file class.ilECSParticipantSetting.php.

◆ ERR_MISSING_USERNAME_PLACEHOLDER

const ilECSParticipantSetting::ERR_MISSING_USERNAME_PLACEHOLDER = 1

◆ EXTERNAL_ACCOUNT_PLACEHOLDER

const ilECSParticipantSetting::EXTERNAL_ACCOUNT_PLACEHOLDER = '[EXTERNAL_ACCOUNT]'

Definition at line 35 of file class.ilECSParticipantSetting.php.

Referenced by ilECSUser\toGET().

◆ IMPORT_CMS

const ilECSParticipantSetting::IMPORT_CMS = 3

◆ IMPORT_CRS

const ilECSParticipantSetting::IMPORT_CRS = 2

Definition at line 53 of file class.ilECSParticipantSetting.php.

Referenced by ilECSCommunityTableGUI\fillRow().

◆ IMPORT_RCRS

const ilECSParticipantSetting::IMPORT_RCRS = 1

Definition at line 52 of file class.ilECSParticipantSetting.php.

Referenced by ilECSCommunityTableGUI\fillRow().

◆ IMPORT_UNCHANGED

const ilECSParticipantSetting::IMPORT_UNCHANGED = 0

◆ INCOMING_AUTH_TYPE_INACTIVE

const ilECSParticipantSetting::INCOMING_AUTH_TYPE_INACTIVE = 0

◆ INCOMING_AUTH_TYPE_LOGIN_PAGE

const ilECSParticipantSetting::INCOMING_AUTH_TYPE_LOGIN_PAGE = 1

◆ INCOMING_AUTH_TYPE_SHIBBOLETH

const ilECSParticipantSetting::INCOMING_AUTH_TYPE_SHIBBOLETH = 2

◆ LOGIN_PLACEHOLDER

const ilECSParticipantSetting::LOGIN_PLACEHOLDER = '[LOGIN]'

Definition at line 34 of file class.ilECSParticipantSetting.php.

Referenced by ilECSUser\toGET().

◆ OUTGOING_AUTH_MODE_DEFAULT

const ilECSParticipantSetting::OUTGOING_AUTH_MODE_DEFAULT = 'default'

Definition at line 41 of file class.ilECSParticipantSetting.php.

◆ PERSON_EPPN

const ilECSParticipantSetting::PERSON_EPPN = 1

Definition at line 29 of file class.ilECSParticipantSetting.php.

◆ PERSON_LOGIN

const ilECSParticipantSetting::PERSON_LOGIN = 3

Definition at line 31 of file class.ilECSParticipantSetting.php.

◆ PERSON_LUID

const ilECSParticipantSetting::PERSON_LUID = 2

Definition at line 30 of file class.ilECSParticipantSetting.php.

◆ PERSON_UID

const ilECSParticipantSetting::PERSON_UID = 4

Definition at line 32 of file class.ilECSParticipantSetting.php.

◆ VALIDATION_OK

const ilECSParticipantSetting::VALIDATION_OK = 0

Definition at line 43 of file class.ilECSParticipantSetting.php.


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