ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ 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
$ilLog
;
58
59
$this->log =
$ilLog
;
60
}
61
62
public
function
setPid
($a_pid)
63
{
64
$this->pid = $a_pid;
65
}
66
67
public
function
getPid
()
68
{
69
return
$this->pid;
70
}
71
76
public
function
setUrl
($a_url)
77
{
78
$this->url = $a_url;
79
}
80
85
public
function
getUrl
()
86
{
87
return
$this->url
;
88
}
89
90
public
function
setRealm
($a_realm)
91
{
92
$this->realm = $a_realm;
93
}
94
95
public
function
getRealm
()
96
{
97
return
$this->realm
;
98
}
99
106
public
function
getHash
()
107
{
108
return
$this->hash;
109
}
110
118
public
function
setSOV
($a_sov)
119
{
120
include_once
'./Services/Calendar/classes/class.ilDateTime.php'
;
121
$dt =
new
ilDateTime
($a_sov,
IL_CAL_UNIX
);
122
$this->sov = $dt->get(
IL_CAL_ISO_8601
);
123
}
124
132
public
function
setEOV
($a_eov)
133
{
134
include_once
'./Services/Calendar/classes/class.ilDateTime.php'
;
135
$dt =
new
ilDateTime
($a_eov,
IL_CAL_UNIX
);
136
$this->sov = $dt->get(
IL_CAL_ISO_8601
);
137
}
138
}
ilECSAuth\$mids
$mids
Definition:
class.ilECSAuth.php:36
ilECSAuth\setRealm
setRealm($a_realm)
Definition:
class.ilECSAuth.php:90
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:62
ilECSAuth\getHash
getHash()
get hash
Definition:
class.ilECSAuth.php:106
ilECSAuth\getPid
getPid()
Definition:
class.ilECSAuth.php:67
ilECSAuth\setEOV
setEOV($a_eov)
set EOV
Definition:
class.ilECSAuth.php:132
IL_CAL_ISO_8601
const IL_CAL_ISO_8601
Definition:
class.ilDateTime.php:15
ilDateTime
Date and time handling
Definition:
class.ilDateTime.php:32
ilECSAuth\setUrl
setUrl($a_url)
URL.
Definition:
class.ilECSAuth.php:76
$ilLog
$ilLog
Definition:
inc.setup_header.php:129
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilECSAuth\setSOV
setSOV($a_sov)
set SOV
Definition:
class.ilECSAuth.php:118
$url
$url
Definition:
proxy_ylocal.php:28
ilECSAuth\getRealm
getRealm()
Definition:
class.ilECSAuth.php:95
ilECSAuth\$log
$log
Definition:
class.ilECSAuth.php:35
ilECSAuth\getUrl
getUrl()
get Url
Definition:
class.ilECSAuth.php:85
ilECSAuth\__construct
__construct()
constuctor
Definition:
class.ilECSAuth.php:55
Services
WebServices
ECS
classes
class.ilECSAuth.php
Generated on Sat Jan 18 2025 19:01:41 for ILIAS by
1.8.13 (using
Doxyfile
)