4include_once(
"Services/Table/classes/class.ilTable2GUI.php");
 
   20                $this->
setId(
"ilCOPgHistoryTable");
 
   21                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   22                $this->
setTitle($lng->txt(
"content_page_history"));
 
   26                $this->
addColumn($lng->txt(
"date"), 
"", 
"33%");
 
   27                $this->
addColumn($lng->txt(
"user"), 
"", 
"33%");
 
   28                $this->
addColumn($lng->txt(
"action"), 
"", 
"33%");
 
   30                $this->
setRowTemplate(
"tpl.page_history_row.html", 
"Services/COPage");
 
   33                $this->
addMultiCommand(
"compareVersion", $lng->txt(
"cont_page_compare"));
 
   44                if ($a_field == 
"sortkey")
 
   63                        $this->tpl->setCurrentBlock(
"command");
 
   64                        $this->tpl->setVariable(
"TXT_COMMAND", 
$lng->txt(
"cont_rollback"));
 
   65                        $this->tpl->setVariable(
"HREF_COMMAND",
 
   66                                $ilCtrl->getLinkTarget($this->getParentObject(), 
"rollbackConfirmation"));
 
   67                        $this->tpl->parseCurrentBlock();
 
   73                        $this->tpl->setVariable(
"RSELECT", 
'checked="checked"');
 
   74                        $this->rselect = 
true;
 
   76                else if (!$this->lselect)
 
   78                        $this->tpl->setVariable(
"LSELECT", 
'checked="checked"');
 
   79                        $this->lselect = 
true;
 
   83                $this->tpl->setVariable(
"NR", $a_set[
"nr"]);
 
   84                $this->tpl->setVariable(
"TXT_HDATE",
 
   89                $this->tpl->setVariable(
"HREF_OLD_PAGE",
 
   90                        $ilCtrl->getLinkTarget($this->getParentObject(), 
"preview"));
 
  102                        include_once(
"./Services/User/classes/class.ilUserUtil.php");
 
  111                        $this->tpl->setVariable(
"TXT_USER", $name_pres);
 
static formatDate(ilDateTime $date)
Format a date @access public.
@classDescription Date and time handling
_lookupLogin($a_user_id)
lookup login
static _lookupName($a_user_id)
lookup user name
static _exists($a_id, $a_reference=false, $a_type=null)
checks if an object exists in object_data@access public
Page History Table GUI Class.
fillRow($a_set)
Standard Version of Fill Row.
numericOrdering($a_field)
Should this field be sorted numeric?
__construct($a_parent_obj, $a_parent_cmd="")
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="")
Add a column to the header.
getParentObject()
Get parent object.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
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)
Default behaviour is: