5 include_once(
"./Services/DataSet/classes/class.ilDataSet.php");
24 return array(
"4.3.0");
35 return "http://www.ilias.de/xml/Services/Help/".$a_entity;
44 protected function getTypes($a_entity, $a_version)
46 if ($a_entity ==
"help_map")
53 "Component" =>
"text",
55 "ScreenSubId" =>
"text",
61 if ($a_entity ==
"help_tooltip")
84 function readData($a_entity, $a_version, $a_ids, $a_field =
"")
88 if (!is_array($a_ids))
90 $a_ids =
array($a_ids);
93 if ($a_entity ==
"help_map")
101 $ilDB->in(
"chap", $a_ids,
false,
"integer"));
106 if ($a_entity ==
"help_tooltip")
133 function importRecord($a_entity, $a_types, $a_rec, $a_mapping, $a_schema_version)
139 include_once(
"./Services/Help/classes/class.ilHelpMapping.php");
142 $module_id = $a_mapping->getMapping(
'Services/Help',
'help_module', 0);
143 $t = $a_mapping->getAllMappings();
146 $new_chap = $a_mapping->getMapping(
'Services/Help',
'help_chap',
152 $new_chap = $a_mapping->getMapping(
'Modules/LearningModule',
'lm_tree',
161 $a_rec[
"ScreenSubId"],
171 include_once(
"./Services/Help/classes/class.ilHelp.php");
174 $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.
Create styles array
The data for the language used.
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 addTooltip($a_tt_id, $a_text, $a_module_id=0)
Add tooltip.
static saveMappingEntry($a_chap, $a_comp, $a_screen_id, $a_screen_sub_id, $a_perm, $a_module_id=0)
Save mapping entry.