6 include_once
"Services/Object/classes/class.ilObjectListGUI.php";
23 $this->copy_enabled =
true;
24 $this->delete_enabled =
true;
25 $this->cut_enabled =
true;
26 $this->subscribe_enabled =
true;
27 $this->link_enabled =
true;
28 $this->info_screen_enabled =
true;
30 $this->gui_class_name =
"ilobjwikigui";
33 include_once(
'./Modules/Wiki/classes/class.ilObjWikiAccess.php');
46 public function initItem($a_ref_id, $a_obj_id, $a_title =
"", $a_description =
"")
48 parent::initItem($a_ref_id, $a_obj_id, $a_title, $a_description);
86 include_once(
"./Modules/Wiki/classes/class.ilObjWikiAccess.php");
89 $props[] = array(
"alert" =>
true,
"property" =>
$lng->txt(
"status"),
90 "value" =>
$lng->txt(
"offline"));
93 $lng->loadLanguageModule(
"wiki");
94 include_once(
"./Modules/Exercise/RepoObjectAssignment/classes/class.ilExcRepoObjAssignment.php");
96 if (count(
$info) > 0) {
98 foreach ($sub as
$s) {
100 $mem = array_map(
function (
$id) {
102 return $name[
"firstname"] .
" " .
$name[
"lastname"];
103 }, $team->getMembers());
104 $props[] = array(
"alert" =>
false,
"property" =>
$lng->txt(
"wiki_team_members"),
105 "value" => implode(
", ", $mem));
125 $cmd_link =
"ilias.php?baseClass=ilWikiHandlerGUI" .
126 "&cmdClass=ilwikipagegui&ref_id=" . $this->ref_id .
127 "&cmd=downloadFile&file_id=" . $this->
getChildId();
132 $cmd_link =
"ilias.php?baseClass=ilWikiHandlerGUI&ref_id=" . $this->ref_id .
"&cmd=$a_cmd";
143 $this->child_id = $a_child_id;
147 return $this->child_id;
static _lookupName($a_user_id)
lookup user name
getCommandLink($a_cmd)
Get command link url.
static getInstance()
Get instance.
if(!array_key_exists('StateId', $_REQUEST)) $id
Exercise assignment team.
getProperties()
Get item properties.
static _getCommands()
get commands
ListGUI class for wiki objects.
static getSubmissionsForFilename($a_filename, $a_assignment_types=array())
Get assignment return entries for a filename.
initItem($a_ref_id, $a_obj_id, $a_title="", $a_description="")
inititialize new item
static _lookupOnline($a_id)
Check wether wiki cast is online.
getCommandFrame($a_cmd)
Get command target frame.