24 public function __construct($a_parent_obj, $a_parent_cmd, $a_comp)
28 $this->ctrl =
$DIC->ctrl();
29 $this->lng =
$DIC->language();
30 $this->access =
$DIC->access();
33 $ilAccess =
$DIC->access();
36 $this->
setId(
"lm_help_tooltips");
45 $this->
addColumn($this->lng->txt(
"help_tooltip_id"));
46 $this->
addColumn($this->lng->txt(
"help_tt_text"));
49 $this->
setRowTemplate(
"tpl.help_tooltip.html",
"Modules/LearningModule");
64 $this->tpl->setVariable(
"ID", $a_set[
"id"]);
An exception for terminatinating execution or to throw for unit testing.
static getAllTooltips($a_comp="", $a_module_id=0)
Get all tooltips.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
addColumn( $a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms @access public
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc