ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
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}
139?>
const IL_CAL_ISO_8601
const IL_CAL_UNIX
@classDescription Date and time handling
getUrl()
get Url
getHash()
get hash
setEOV($a_eov)
set EOV
setSOV($a_sov)
set SOV
setPid($a_pid)
setUrl($a_url)
URL.
__construct()
constuctor
setRealm($a_realm)
$url
Definition: shib_logout.php:72