30         $this->db = (is_null($db))
    41         bool $check_scheduled_activation = 
false,
    53             foreach ($this->
getData($parent_type, $ids, $check_scheduled_activation, 
"-") as $k => $v) {
    58         foreach ($this->
getData($parent_type, $ids, $check_scheduled_activation, $lang) as $k => $v) {
    68         bool $check_scheduled_activation = 
false,
    73             "SELECT page_id, active, activation_start, activation_end, show_activation_info FROM page_object WHERE " .
    74             $db->
in(
"page_id", $ids, 
false, 
"integer") .
    75             " AND parent_type = %s AND lang = %s",
    82             if (!$rec[
"active"] && $check_scheduled_activation) {
    83                 if ($now >= $rec[
"activation_start"] &&
    84                     $now <= $rec[
"activation_end"]) {
    85                     $active[$rec[
"page_id"]] = [
    87                         "start" => $rec[
"activation_start"],
    88                         "end" => $rec[
"activation_end"],
    89                         "show_info" => (bool) $rec[
"show_activation_info"]
    92                     $active[$rec[
"page_id"]] = [
    94                         "start" => $rec[
"activation_start"],
    95                         "end" => $rec[
"activation_end"],
    96                         "show_info" => (bool) $rec[
"show_activation_info"]
   100                 $active[$rec[
"page_id"]] = [
   101                     "active" => (bool) $rec[
"active"],
 
fetchAssoc(ilDBStatement $statement)
 
static now()
Return current timestamp in Y-m-d H:i:s format. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(\ilDBInterface $db=null)
 
queryF(string $query, array $types, array $values)
 
in(string $field, array $values, bool $negate=false, string $type="")
 
getData(string $parent_type, array $ids, bool $check_scheduled_activation=false, string $lang="")