37 public function __construct($a_context = self::CONTEXT_REPOSITORY)
45 public function init(): void
47 $this->delete_enabled =
true;
48 $this->cut_enabled =
true;
49 $this->copy_enabled =
true;
50 $this->subscribe_enabled =
true;
51 $this->link_enabled =
true;
52 $this->info_screen_enabled =
true;
54 $this->gui_class_name =
"ilobjquestionpoolgui";
93 if (!$this->object_properties->getPropertyIsOnline()->getIsOnline()) {
94 $props[] = [
"alert" =>
true,
"property" => $this->
lng->txt(
"status"),
95 "value" => $this->
lng->txt(
"offline")];
106 $cmd = explode(
'::', $cmd);
108 if (count($cmd) == 2) {
109 $cmd_link = $this->
ctrl->getLinkTargetByClass([
'ilRepositoryGUI',
'ilObjQuestionPoolGUI', $cmd[0]], $cmd[1]);
111 $cmd_link = $this->
ctrl->getLinkTargetByClass(
'ilObjQuestionPoolGUI', $cmd[0]);
114 $params = array_merge([
'ref_id' => $this->ref_id], $this->command_link_params);
static appendUrlParameterString(string $a_url, string $a_par, bool $xml_style=false)
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
getCommandFrame(string $cmd)
Get command target frame.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getProperties()
Get item properties.
static _getCommands()
get commands
__construct($a_context=self::CONTEXT_REPOSITORY)
constructor
getCommandLink(string $cmd)
Get command link url.
__construct(Container $dic, ilPlugin $plugin)