ILIAS
release_4-3 Revision
◀ 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 Sat Apr 30 2016 19:00:55 for ILIAS by
1.8.1.2 (using
Doxyfile
)