5 include_once(
"./Services/DataSet/classes/class.ilDataSet.php");
25 return array(
"4.3.0");
36 return "http://www.ilias.de/xml/Services/Help/" . $a_entity;
45 protected function getTypes($a_entity, $a_version)
47 if ($a_entity ==
"help_map") {
52 "Component" =>
"text",
54 "ScreenSubId" =>
"text",
60 if ($a_entity ==
"help_tooltip") {
80 public function readData($a_entity, $a_version, $a_ids, $a_field =
"")
84 if (!is_array($a_ids)) {
85 $a_ids = array($a_ids);
88 if ($a_entity ==
"help_map") {
94 $ilDB->in(
"chap", $a_ids,
false,
"integer"));
99 if ($a_entity ==
"help_tooltip") {
100 switch ($a_version) {
123 public function importRecord($a_entity, $a_types, $a_rec, $a_mapping, $a_schema_version)
128 include_once(
"./Services/Help/classes/class.ilHelpMapping.php");
131 $module_id = $a_mapping->getMapping(
'Services/Help',
'help_module', 0);
132 $t = $a_mapping->getAllMappings();
134 $new_chap = $a_mapping->getMapping(
141 if ($new_chap == 0) {
142 $new_chap = $a_mapping->getMapping(
143 'Modules/LearningModule',
154 $a_rec[
"ScreenSubId"],
164 include_once(
"./Services/Help/classes/class.ilHelp.php");
167 $module_id = $a_mapping->getMapping(
'Services/Help',
'help_module', 0);
getXmlNamespace($a_entity, $a_schema_version)
Get xml namespace.
getDirectDataFromQuery($a_query, $a_convert_to_leading_upper=true, $a_set=true)
Get data from query.This is a standard procedure, all db field names are directly mapped to abstract ...
Help system data set class.
getDependencies($a_entity, $a_version, $a_rec, $a_ids)
Determine the dependent sets of data.
importRecord($a_entity, $a_types, $a_rec, $a_mapping, $a_schema_version)
Import record.
getTypes($a_entity, $a_version)
Get field types for entity.
getSupportedVersions()
Get supported versions.
readData($a_entity, $a_version, $a_ids, $a_field="")
Read data.
A dataset contains in data in a common structure that can be shared and transformed for different pur...
static saveMappingEntry( $a_chap, $a_comp, $a_screen_id, $a_screen_sub_id, $a_perm, $a_module_id=0)
Save mapping entry.
static addTooltip($a_tt_id, $a_text, $a_module_id=0)
Add tooltip.