ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilPageComponentPluginExporter.php
Go to the documentation of this file.
1<?php
2
24{
33 protected static array $pc_properties = array();
34
40 protected static array $pc_version = array();
41
42
47 public static function setPCProperties(
48 string $a_id,
49 array $a_properties
50 ): void {
51 self::$pc_properties[$a_id] = $a_properties;
52 }
53
57 public static function getPCProperties(string $a_id): ?array
58 {
59 return self::$pc_properties[$a_id] ?? null;
60 }
61
66 public static function setPCVersion(
67 string $a_id,
68 string $a_version
69 ): void {
70 self::$pc_version[$a_id] = $a_version;
71 }
72
76 public static function getPCVersion(string $a_id): ?string
77 {
78 return self::$pc_version[$a_id] ?? null;
79 }
80}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getPCProperties(string $a_id)
Get the properties of a plugged page content.
static setPCProperties(string $a_id, array $a_properties)
Set the properties of a plugged page content This method is used by ilCOPageExporter to provide the p...
static setPCVersion(string $a_id, string $a_version)
Set the version of a plugged page content This method is used by ilCOPageExporter to provide the vers...
static getPCVersion(string $a_id)
Get the version of a plugged page content.
Xml Exporter class.