ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilECSAuth.php
Go to the documentation of this file.
1
<?
php
2
/*
3
+-----------------------------------------------------------------------------+
4
| ILIAS open source |
5
+-----------------------------------------------------------------------------+
6
| Copyright (c) 1998-2006 ILIAS open source, University of Cologne |
7
| |
8
| This program is free software; you can redistribute it and/or |
9
| modify it under the terms of the GNU General Public License |
10
| as published by the Free Software Foundation; either version 2 |
11
| of the License, or (at your option) any later version. |
12
| |
13
| This program is distributed in the hope that it will be useful, |
14
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
15
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16
| GNU General Public License for more details. |
17
| |
18
| You should have received a copy of the GNU General Public License |
19
| along with this program; if not, write to the Free Software |
20
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21
+-----------------------------------------------------------------------------+
22
*/
23
33
class
ilECSAuth
34
{
35
protected
$log
;
36
protected
$mids
= array();
37
38
//public $url;
39
public
$realm
;
40
# public $hash;
41
# public $sov;
42
# public $eov;
43
# public $url;
44
# public $abbr;
45
# public $pid;
46
47
55
public
function
__construct
()
56
{
57
global
$DIC
;
58
59
$ilLog
= $DIC[
'ilLog'
];
60
61
$this->log =
$ilLog
;
62
}
63
64
public
function
setPid
($a_pid)
65
{
66
$this->pid = $a_pid;
67
}
68
69
public
function
getPid
()
70
{
71
return
$this->pid;
72
}
73
78
public
function
setUrl
($a_url)
79
{
80
$this->url = $a_url;
81
}
82
87
public
function
getUrl
()
88
{
89
return
$this->url
;
90
}
91
92
public
function
setRealm
($a_realm)
93
{
94
$this->realm = $a_realm;
95
}
96
97
public
function
getRealm
()
98
{
99
return
$this->realm
;
100
}
101
108
public
function
getHash
()
109
{
110
return
$this->hash;
111
}
112
120
public
function
setSOV
($a_sov)
121
{
122
include_once
'./Services/Calendar/classes/class.ilDateTime.php'
;
123
$dt =
new
ilDateTime
($a_sov,
IL_CAL_UNIX
);
124
$this->sov = $dt->get(
IL_CAL_ISO_8601
);
125
}
126
134
public
function
setEOV
($a_eov)
135
{
136
include_once
'./Services/Calendar/classes/class.ilDateTime.php'
;
137
$dt =
new
ilDateTime
($a_eov,
IL_CAL_UNIX
);
138
$this->sov = $dt->get(
IL_CAL_ISO_8601
);
139
}
140
}
ilECSAuth\$mids
$mids
Definition:
class.ilECSAuth.php:36
ilECSAuth\setRealm
setRealm($a_realm)
Definition:
class.ilECSAuth.php:92
$DIC
global $DIC
Definition:
saml.php:7
IL_CAL_UNIX
const IL_CAL_UNIX
Definition:
class.ilDateTime.php:11
ilECSAuth
Definition:
class.ilECSAuth.php:33
ilECSAuth\$realm
$realm
Definition:
class.ilECSAuth.php:39
ilECSAuth\setPid
setPid($a_pid)
Definition:
class.ilECSAuth.php:64
ilECSAuth\getHash
getHash()
get hash
Definition:
class.ilECSAuth.php:108
ilECSAuth\getPid
getPid()
Definition:
class.ilECSAuth.php:69
ilECSAuth\setEOV
setEOV($a_eov)
set EOV
Definition:
class.ilECSAuth.php:134
IL_CAL_ISO_8601
const IL_CAL_ISO_8601
Definition:
class.ilDateTime.php:15
ilDateTime
Date and time handling
Definition:
class.ilDateTime.php:33
ilECSAuth\setUrl
setUrl($a_url)
URL.
Definition:
class.ilECSAuth.php:78
$ilLog
$ilLog
Definition:
inc.setup_header.php:123
ilECSAuth\setSOV
setSOV($a_sov)
set SOV
Definition:
class.ilECSAuth.php:120
php
$url
$url
Definition:
proxy_ylocal.php:28
ilECSAuth\getRealm
getRealm()
Definition:
class.ilECSAuth.php:97
ilECSAuth\$log
$log
Definition:
class.ilECSAuth.php:35
ilECSAuth\getUrl
getUrl()
get Url
Definition:
class.ilECSAuth.php:87
ilECSAuth\__construct
__construct()
constuctor
Definition:
class.ilECSAuth.php:55
Services
WebServices
ECS
classes
class.ilECSAuth.php
Generated on Thu Jan 30 2025 19:02:08 for ILIAS by
1.8.13 (using
Doxyfile
)