ILIAS
Release_4_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilPageUtil.php
Go to the documentation of this file.
1
<?php
2
7
class
ilPageUtil
8
{
15
function
_existsAndNotEmpty
($a_parent_type, $a_id)
16
{
17
global
$ilDB
;
18
19
$query
=
"SELECT page_id, is_empty FROM page_object WHERE page_id = "
.$ilDB->quote($a_id,
"integer"
).
" "
.
20
"AND parent_type= "
.$ilDB->quote($a_parent_type,
"text"
);
21
22
$set = $ilDB->query(
$query
);
23
if
(
$row
= $ilDB->fetchAssoc($set))
24
{
25
if
(
$row
[
"is_empty"
] != 1)
26
{
27
return
true
;
28
}
29
}
30
return
false
;
31
}
32
}
33
?>
Services
COPage
classes
class.ilPageUtil.php
Generated on Wed Apr 27 2016 19:01:32 for ILIAS by
1.8.1.2 (using
Doxyfile
)