ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilPDContentBlockGUI.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
24
include_once(
"Services/Block/classes/class.ilBlockGUI.php"
);
25
32
class
ilPDContentBlockGUI
extends
ilBlockGUI
33
{
34
static
$block_type
=
"pdcontent"
;
35
39
function
ilPDContentBlockGUI
()
40
{
41
global
$ilCtrl
,
$lng
,
$ilUser
;
42
43
parent::ilBlockGUI($a_parent_class, $a_parent_cmd);
44
45
//$this->setTitle($lng->txt("selected_items"));
46
$this->
setEnableNumInfo
(
false
);
47
$this->
setLimit
(99999);
48
//$this->setColSpan(2);
49
$this->
setBigMode
(
true
);
50
$this->allow_moving =
false
;
51
}
52
58
static
function
getBlockType
()
59
{
60
return
self::$block_type;
61
}
62
68
function
setCurrentItemNumber
($a_currentitemnumber)
69
{
70
$this->currentitemnumber = $a_currentitemnumber;
71
}
72
78
function
getCurrentItemNumber
()
79
{
80
return
$this->currentitemnumber;
81
}
82
88
static
function
isRepositoryObject
()
89
{
90
return
false
;
91
}
92
93
function
getHTML
()
94
{
95
return
parent::getHTML();
96
}
97
98
function
getContent
()
99
{
100
return
$this->content;
101
}
102
103
function
setContent
($a_content)
104
{
105
$this->content = $a_content;
106
}
107
111
function
fillDataSection
()
112
{
113
global
$ilUser
;
114
115
$this->tpl->setVariable(
"BLOCK_ROW"
, $this->
getContent
());
116
}
117
121
function
fillFooter
()
122
{
123
//$this->fillFooterLinks();
124
global
$lng
,
$ilCtrl
;
125
126
$footer =
false
;
127
128
if
(is_array($this->data))
129
{
130
$this->max_count = count($this->data);
131
}
132
133
// table footer numinfo
134
if
($this->
getEnableNumInfo
())
135
{
136
$numinfo =
"("
.$this->getCurrentItemNumber().
" "
.
137
strtolower($lng->txt(
"of"
)).
" "
.$this->max_count.
")"
;
138
139
if
($this->max_count > 0)
140
{
141
$this->tpl->setVariable(
"NUMINFO"
, $numinfo);
142
}
143
$footer =
true
;
144
$this->
fillFooterLinks
(
true
, $numinfo);
145
}
146
}
147
148
function
fillPreviousNext
()
149
{
150
}
151
}
152
153
?>
ilBlockGUI\setBigMode
setBigMode($a_bigmode)
Set Big Mode.
Definition:
class.ilBlockGUI.php:95
ilPDContentBlockGUI\$block_type
static $block_type
Definition:
class.ilPDContentBlockGUI.php:34
ilPDContentBlockGUI\ilPDContentBlockGUI
ilPDContentBlockGUI()
Constructor.
Definition:
class.ilPDContentBlockGUI.php:39
ilPDContentBlockGUI\isRepositoryObject
static isRepositoryObject()
Get block type.
Definition:
class.ilPDContentBlockGUI.php:88
ilPDContentBlockGUI\fillDataSection
fillDataSection()
Fill data section.
Definition:
class.ilPDContentBlockGUI.php:111
ilPDContentBlockGUI\fillPreviousNext
fillPreviousNext()
Definition:
class.ilPDContentBlockGUI.php:148
ilBlockGUI\fillFooterLinks
fillFooterLinks($a_top=false, $a_numinfo="")
Fill footer links.
Definition:
class.ilBlockGUI.php:1209
ilPDContentBlockGUI\setCurrentItemNumber
setCurrentItemNumber($a_currentitemnumber)
Set Current Item Number.
Definition:
class.ilPDContentBlockGUI.php:68
ilBlockGUI\setEnableNumInfo
setEnableNumInfo($a_enablenuminfo)
Set Enable Item Number Info.
Definition:
class.ilBlockGUI.php:453
ilPDContentBlockGUI\fillFooter
fillFooter()
block footer
Definition:
class.ilPDContentBlockGUI.php:121
$ilCtrl
global $ilCtrl
Definition:
ilias.php:18
ilPDContentBlockGUI\getHTML
getHTML()
Definition:
class.ilPDContentBlockGUI.php:93
ilPDContentBlockGUI\getContent
getContent()
Definition:
class.ilPDContentBlockGUI.php:98
ilBlockGUI\getEnableNumInfo
getEnableNumInfo()
Get Enable Item Number Info.
Definition:
class.ilBlockGUI.php:463
if
if(!file_exists(getcwd().'/ilias.ini.php')) if(isset( $_GET["client_id"]))
registration confirmation script for ilias
Definition:
confirmReg.php:20
ilBlockGUI\setLimit
setLimit($a_limit)
Set Limit.
Definition:
class.ilBlockGUI.php:258
ilPDContentBlockGUI\getCurrentItemNumber
getCurrentItemNumber()
Get Current Item Number.
Definition:
class.ilPDContentBlockGUI.php:78
$ilUser
global $ilUser
Definition:
imgupload.php:15
$lng
global $lng
Definition:
privfeed.php:40
ilPDContentBlockGUI\setContent
setContent($a_content)
Definition:
class.ilPDContentBlockGUI.php:103
ilBlockGUI
This class represents a block method of a block.
Definition:
class.ilBlockGUI.php:12
ilPDContentBlockGUI\getBlockType
static getBlockType()
Get block type.
Definition:
class.ilPDContentBlockGUI.php:58
ilPDContentBlockGUI
BlockGUI class for (centered) Content on Personal Desktop.
Definition:
class.ilPDContentBlockGUI.php:32
Services
PersonalDesktop
classes
class.ilPDContentBlockGUI.php
Generated on Mon Mar 31 2025 19:00:51 for ILIAS by
1.8.13 (using
Doxyfile
)