ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
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
l
m
n
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.ilDclDetailedViewDefinition.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
16
class
ilDclDetailedViewDefinition
extends
ilPageObject
17
{
18
const
PARENT_TYPE
=
'dclf'
;
22
protected
$active
=
false
;
26
protected
$table_id
;
30
protected
static
$record_view_cache
= array();
31
32
38
public
function
getParentType
()
39
{
40
return
self::PARENT_TYPE;
41
}
42
43
52
public
function
getAvailablePlaceholders
()
53
{
54
$all = array();
55
56
$tableview =
new
ilDclTableView
($this->
getId
());
57
$table_id
= $tableview->getTableId();
58
$objTable =
ilDclCache::getTableCache
(
$table_id
);
59
$fields = $objTable->getRecordFields();
60
$standardFields = $objTable->getStandardFields();
61
62
foreach
($fields as $field) {
63
$all[] =
"["
. $field->getTitle() .
"]"
;
64
65
if
($field->getDatatypeId() ==
ilDclDatatype::INPUTFORMAT_REFERENCE
) {
66
$all[] =
'[dclrefln field="'
. $field->getTitle() .
'"][/dclrefln]'
;
67
}
68
// SW 14.10.2015 http://www.ilias.de/mantis/view.php?id=16874
69
// if ($field->getDatatypeId() == ilDclDatatype::INPUTFORMAT_ILIAS_REF) {
70
// $all[] = '[dcliln field="' . $field->getTitle() . '"][/dcliln]';
71
// }
72
}
73
74
foreach
($standardFields as $field) {
75
$all[] =
"["
. $field->getId() .
"]"
;
76
}
77
78
return
$all;
79
}
80
81
82
public
static
function
exists
(
$id
)
83
{
84
return
parent::_exists(self::PARENT_TYPE,
$id
);
85
}
86
87
88
public
static
function
isActive
(
$id
)
89
{
90
return
parent::_lookupActive(
$id
, self::PARENT_TYPE);
91
}
92
}
ilDclDetailedViewDefinition\isActive
static isActive($id)
Definition:
class.ilDclDetailedViewDefinition.php:88
ilDclDetailedViewDefinition\exists
static exists($id)
Definition:
class.ilDclDetailedViewDefinition.php:82
ilDclDetailedViewDefinition\getParentType
getParentType()
Get parent type.
Definition:
class.ilDclDetailedViewDefinition.php:38
ilPageObject\$id
$id
Definition:
class.ilPageObject.php:72
ilDclDetailedViewDefinition\$table_id
$table_id
Definition:
class.ilDclDetailedViewDefinition.php:26
ilDclCache\getTableCache
static getTableCache($table_id=0)
Definition:
class.ilDclCache.php:126
ilPageObject\getId
getId()
Definition:
class.ilPageObject.php:507
ilPageObject
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD)
Definition:
class.ilPageObject.php:40
ilDclDetailedViewDefinition\getAvailablePlaceholders
getAvailablePlaceholders()
Get all placeholders for table id.
Definition:
class.ilDclDetailedViewDefinition.php:52
ilDclTableView
Class ilDclTableView.
Definition:
class.ilDclTableView.php:9
ilDclDatatype\INPUTFORMAT_REFERENCE
const INPUTFORMAT_REFERENCE
Definition:
class.ilDclDatatype.php:21
ilDclDetailedViewDefinition\$record_view_cache
static $record_view_cache
Definition:
class.ilDclDetailedViewDefinition.php:30
ilDclDetailedViewDefinition\PARENT_TYPE
const PARENT_TYPE
Definition:
class.ilDclDetailedViewDefinition.php:18
ilDclDetailedViewDefinition\$active
$active
Definition:
class.ilDclDetailedViewDefinition.php:22
ilDclDetailedViewDefinition
Class ilDclDetailedViewDefinition.
Definition:
class.ilDclDetailedViewDefinition.php:16
Modules
DataCollection
classes
DetailedView
class.ilDclDetailedViewDefinition.php
Generated on Sun Apr 6 2025 21:00:57 for ILIAS by
1.8.13 (using
Doxyfile
)