24 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
43 $this->ctrl = $DIC->ctrl();
44 $this->lng = $DIC->language();
46 $lng = $DIC->language();
48 parent::__construct($a_parent_obj, $a_parent_cmd);
49 $this->wiki_id = $a_wiki_id;
53 $this->
addColumn(
$lng->txt(
"wiki_last_changed_by"),
"",
"67%");
57 "tpl.table_row_recent_changes.html",
72 include_once(
"./Modules/Wiki/classes/class.ilWikiPage.php");
88 include_once(
"./Modules/Wiki/classes/class.ilWikiPage.php");
90 $this->tpl->setVariable(
"TXT_PAGE_TITLE",
$title);
91 $this->tpl->setVariable(
95 $ilCtrl->setParameterByClass(
"ilwikipagegui",
"page", rawurlencode(
$title));
96 $ilCtrl->setParameterByClass(
"ilwikipagegui",
"old_nr", $a_set[
"nr"]);
97 $this->tpl->setVariable(
99 $ilCtrl->getLinkTargetByClass(
"ilwikipagegui",
"preview")
103 include_once(
"./Services/User/classes/class.ilUserUtil.php");
104 $this->tpl->setVariable(
static lookupTitle($a_page_id)
Checks whether a page with given title exists.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
fillRow($a_set)
Standard Version of Fill Row.
getParentCmd()
Get parent command.
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false, $include_seconds=false)
Format a date public.
__construct( $a_parent_obj, $a_parent_cmd="", $a_wiki_id)
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
getRecentChanges()
Get pages for list.
static getRecentChanges($a_parent_type, $a_parent_id, $a_period=30, $a_lang="")
Get recent pages changes for parent object.
static getNamePresentation( $a_user_id, $a_user_image=false, $a_profile_link=false, $a_profile_back_link="", $a_force_first_lastname=false, $a_omit_login=false, $a_sortable=true, $a_return_data_array=false, $a_ctrl_path="ilpublicuserprofilegui")
Default behaviour is:
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
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.
setShowRowsSelector($a_value)
Toggle rows-per-page selector.
setEnableHeader($a_enableheader)
Set Enable Header.
TableGUI class for recent changes in wiki.