35         $this->master_lang_only = $a_val;
    45         return array(
"4.2.0");
    48     protected function getXmlNamespace(
string $a_entity, 
string $a_schema_version): string
    50         return "https://www.ilias.de/xml/Services/COPage/" . $a_entity;
    53     protected function getTypes(
string $a_entity, 
string $a_version): array
    56         if ($a_entity == 
"pgtp") {
    62                         "Description" => 
"text",
    63                         "SpecialPage" => 
"integer",
    64                         "StyleId" => 
"integer");
    70     public function readData(
string $a_entity, 
string $a_version, array $a_ids): void
    74         if (!is_array($a_ids)) {
    75             $a_ids = array($a_ids);
    79         if ($a_entity == 
"pgtp") {
    83                         " style_id, special_page " .
    84                         " FROM page_layout " .
    86                         $db->
in(
"layout_id", $a_ids, 
false, 
"integer"));
   110                 $pt->setTitle($a_rec[
"Title"]);
   111                 $pt->setDescription($a_rec[
"Description"]);
   112                 $pt->setSpecialPage($a_rec[
"SpecialPage"]);
   115                 $this->current_obj = $pt;
   125                     "stys:" . $a_rec[
"Id"],
   126                     "stys:" . $pt->getId()
 setMasterLanguageOnly(bool $a_val)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getTypes(string $a_entity, string $a_version)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
addMapping(string $a_comp, string $a_entity, string $a_old_id, string $a_new_id)
 
getDependencies(string $a_entity, string $a_version, ?array $a_rec=null, ?array $a_ids=null)
Determine the dependent sets of data. 
 
ilPageLayout $current_obj
 
getXmlNamespace(string $a_entity, string $a_schema_version)
 
getDirectDataFromQuery(string $a_query, bool $a_convert_to_leading_upper=true, bool $a_set=true)
Get data from query.This is a standard procedure, all db field names are directly mapped to abstract ...
 
in(string $field, array $values, bool $negate=false, string $type="")
 
importRecord(string $a_entity, array $a_types, array $a_rec, ilImportMapping $a_mapping, string $a_schema_version)
 
readData(string $a_entity, string $a_version, array $a_ids)
 
stripTags(array $rec, array $omit_keys=[])