4 include_once(
"./Services/DataSet/classes/class.ilDataSet.php");
 
   29                 return array(
"4.2.0");
 
   40                 return "http://www.ilias.de/xml/Services/COPage/".$a_entity;
 
   49         protected function getTypes($a_entity, $a_version)
 
   52                 if ($a_entity == 
"pgtp")
 
   60                                                 "Description" => 
"text",
 
   61                                                 "SpecialPage" => 
"integer",
 
   62                                                 "StyleId" => 
"integer");
 
   73         function readData($a_entity, $a_version, $a_ids, $a_field = 
"")
 
   77                 if (!is_array($a_ids))
 
   79                         $a_ids = array($a_ids);
 
   83                 if ($a_entity == 
"pgtp")
 
   89                                                 " style_id, special_page ".
 
   92                                                 $ilDB->in(
"layout_id", $a_ids, 
false, 
"integer"));
 
  117         function importRecord($a_entity, $a_types, $a_rec, $a_mapping, $a_schema_version)
 
  122                                 include_once(
"./Services/Style/classes/class.ilPageLayout.php");
 
  124                                 $pt->setTitle($a_rec[
"Title"]);
 
  125                                 $pt->setDescription($a_rec[
"Description"]);
 
  126                                 $pt->setSpecialPage($a_rec[
"SpecialPage"]);
 
  129                                 $this->current_obj = $pt;
 
  130                                 $a_mapping->addMapping(
"Services/COPage", 
"pgtp", $a_rec[
"Id"],
 
  132                                 $a_mapping->addMapping(
"Services/COPage", 
"pg", 
"stys:".$a_rec[
"Id"],
 
  133                                         "stys:".$pt->getId());