ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilDclDetailedViewDefinition.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilDclDetailedViewDefinition
extends
ilPageObject
22
{
23
public
const
PARENT_TYPE
=
'dclf'
;
24
protected
int
$table_id
;
25
29
public
function
getParentType
(): string
30
{
31
return
self::PARENT_TYPE;
32
}
33
37
public
function
getAvailablePlaceholders
(): array
38
{
39
$tableview =
new
ilDclTableView
($this->
getId
());
40
return
ilDclCache::getTableCache
($tableview->getTableId())->getFields();
41
}
42
43
public
static
function
exists
(
int
$id
): bool
44
{
45
return
parent::_exists(self::PARENT_TYPE, $id);
46
}
47
48
public
function
isActive
(): bool
49
{
50
foreach
($this->
getAllPCIds
() as
$id
) {
51
if
($this->
getContentObjectForPcId
($id)->isEnabled()) {
52
return
parent::_lookupActive($this->
getId
(), self::PARENT_TYPE);
53
}
54
}
55
return
false
;
56
}
57
}
ilDclDetailedViewDefinition\isActive
isActive()
Definition:
class.ilDclDetailedViewDefinition.php:48
ilPageObject\getAllPCIds
getAllPCIds()
Get all pc ids.
Definition:
class.ilPageObject.php:1981
ilDclDetailedViewDefinition\$table_id
int $table_id
Definition:
class.ilDclDetailedViewDefinition.php:24
ilDclDetailedViewDefinition\getParentType
getParentType()
Get parent type.
Definition:
class.ilDclDetailedViewDefinition.php:29
ilPageObject\$id
int $id
Definition:
class.ilPageObject.php:72
ilPageObject\getContentObjectForPcId
getContentObjectForPcId(string $pcid)
Get content object for pc id.
Definition:
class.ilPageObject.php:727
ilPageObject\getId
getId()
Definition:
class.ilPageObject.php:429
ilDclDetailedViewDefinition\exists
static exists(int $id)
Definition:
class.ilDclDetailedViewDefinition.php:43
ilPageObject
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD)
Definition:
class.ilPageObject.php:52
ilDclDetailedViewDefinition\getAvailablePlaceholders
getAvailablePlaceholders()
Definition:
class.ilDclDetailedViewDefinition.php:37
ilDclTableView
Definition:
class.ilDclTableView.php:21
ilDclCache\getTableCache
static getTableCache(?int $table_id=null)
Definition:
class.ilDclCache.php:131
ilDclDetailedViewDefinition\PARENT_TYPE
const PARENT_TYPE
Definition:
class.ilDclDetailedViewDefinition.php:23
ilDclDetailedViewDefinition
Definition:
class.ilDclDetailedViewDefinition.php:21
components
ILIAS
DataCollection
classes
DetailedView
class.ilDclDetailedViewDefinition.php
Generated on Fri Apr 4 2025 23:02:58 for ILIAS by
1.8.13 (using
Doxyfile
)