ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilDclEditViewDefinition.php
Go to the documentation of this file.
1
<?php
2
19
class
ilDclEditViewDefinition
extends
ilPageObject
20
{
21
public
const
PARENT_TYPE
=
'dclf'
;
22
protected
int
$table_id
;
23
28
public
function
getParentType
(): string
29
{
30
return
self::PARENT_TYPE;
31
}
32
38
public
function
getAvailablePlaceholders
(): array
39
{
40
$all = array();
41
42
$tableview =
new
ilDclTableView
($this->
getId
());
43
$table_id = $tableview->getTableId();
44
$objTable =
ilDclCache::getTableCache
($table_id);
45
$fields = $objTable->getRecordFields();
46
$standardFields = $objTable->getStandardFields();
47
48
foreach
($fields as $field) {
49
$all[] =
"["
. $field->getTitle() .
"]"
;
50
51
if
($field->getDatatypeId() ==
ilDclDatatype::INPUTFORMAT_REFERENCE
) {
52
$all[] =
'[dclrefln field="'
. $field->getTitle() .
'"][/dclrefln]'
;
53
}
54
}
55
56
foreach
($standardFields as $field) {
57
$all[] =
"["
. $field->getId() .
"]"
;
58
}
59
60
return
$all;
61
}
62
63
public
static
function
exists
(
int
$id
): bool
64
{
65
return
parent::_exists(self::PARENT_TYPE, $id);
66
}
67
68
public
static
function
isActive
(
int
$id
): bool
69
{
70
return
parent::_lookupActive($id, self::PARENT_TYPE);
71
}
72
}
ilDclEditViewDefinition\getParentType
getParentType()
Get parent type.
Definition:
class.ilDclEditViewDefinition.php:28
ilPageObject\$id
int $id
Definition:
class.ilPageObject.php:66
ilDclEditViewDefinition
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilDclEditViewDefinition.php:19
ilPageObject\getId
getId()
Definition:
class.ilPageObject.php:429
ilDclCache\getTableCache
static getTableCache(int $table_id=null)
Definition:
class.ilDclCache.php:129
ilPageObject
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD)
Definition:
class.ilPageObject.php:50
ilDclTableView
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilDclTableView.php:19
ilDclEditViewDefinition\isActive
static isActive(int $id)
Definition:
class.ilDclEditViewDefinition.php:68
ilDclDatatype\INPUTFORMAT_REFERENCE
const INPUTFORMAT_REFERENCE
Definition:
class.ilDclDatatype.php:24
ilDclEditViewDefinition\$table_id
int $table_id
Definition:
class.ilDclEditViewDefinition.php:22
ilDclEditViewDefinition\PARENT_TYPE
const PARENT_TYPE
Definition:
class.ilDclEditViewDefinition.php:21
ilDclEditViewDefinition\getAvailablePlaceholders
getAvailablePlaceholders()
Get all placeholders for table id.
Definition:
class.ilDclEditViewDefinition.php:38
ilDclEditViewDefinition\exists
static exists(int $id)
Definition:
class.ilDclEditViewDefinition.php:63
Modules
DataCollection
classes
EditView
class.ilDclEditViewDefinition.php
Generated on Fri Apr 11 2025 22:01:33 for ILIAS by
1.8.13 (using
Doxyfile
)