19declare(strict_types=1);
 
   36    protected function getXmlNamespace(
string $a_entity, 
string $a_schema_version): string
 
   38        return 'http://www.ilias.de/xml/Modules/ContentPage/' . $a_entity;
 
   41    protected function getTypes(
string $a_entity, 
string $a_version): array
 
   48                    'description' => 
'text',
 
   49                    'info-tab' => 
'integer' 
   57    public function readData(
string $a_entity, 
string $a_version, array $a_ids): void
 
   61        if (!is_array($a_ids)) {
 
   65        $this->readEntityData($a_entity, $a_ids);
 
   73    protected function readEntityData(
string $entity, array $ids): void
 
   83                            'id' => $obj->getId(),
 
   84                            'title' => $obj->getTitle(),
 
   85                            'description' => $obj->getDescription(),
 
  106        string $a_schema_version
 
  110                if ($newObjId = $a_mapping->
getMapping(
'Services/Container', 
'objs', (
string) $a_rec[
'id'])) {
 
  119                if (!$newObject->getId()) {
 
  120                    $newObject->create();
 
  126                    (
string) ((
bool) $a_rec[
'info-tab'])
 
  130                    'Modules/ContentPage',
 
  132                    (
string) $a_rec[
'id'],
 
  133                    (
string) $newObject->getId()
 
  138                    self::OBJ_TYPE . 
':' . $a_rec[
'id'],
 
  139                    self::OBJ_TYPE . 
':' . $newObject->getId()
 
static _writeContainerSetting(int $a_id, string $a_keyword, string $a_value)
 
static _lookupContainerSetting(int $a_id, string $a_keyword, string $a_default_value=null)
 
Class ilContentPageDataSet.
 
getXmlNamespace(string $a_entity, string $a_schema_version)
 
getTypes(string $a_entity, string $a_version)
Get (abstract) types for (abstract) field names.
 
readData(string $a_entity, string $a_version, array $a_ids)
Read data from DB.
 
importRecord(string $a_entity, array $a_types, array $a_rec, ilImportMapping $a_mapping, string $a_schema_version)
Needs to be overwritten for import use case.
 
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...
 
addMapping(string $a_comp, string $a_entity, string $a_old_id, string $a_new_id)
 
getMapping(string $a_comp, string $a_entity, string $a_old_id)
 
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
 
const INFO_TAB_VISIBILITY
 
static _lookupType(int $id, bool $reference=false)
 
static stripSlashes(string $a_str, bool $a_strip_html=true, string $a_allow="")
 
Interface ilContentPageObjectConstants.