4 require_once
'Services/Table/classes/class.ilTable2GUI.php';
55 parent::__construct($parentGUIObject, $parentStdCmd);
123 $this->refreshButton[
'txt'] =
$txt;
124 $this->refreshButton[
'cmd'] = $cmd;
157 $lng->loadLanguageModule(
"webr");
160 if ($last_access = $this->
getLinkChecker()->getLastCheckTimestamp()) {
161 $title .=
', ' .
$lng->txt(
'last_change') .
': ' .
167 if (!count($invalidLinks)) {
168 #$this->setNoEntriesText($lng->txt('no_invalid_links')); 170 foreach ($invalidLinks as
$key => $invalidLink) {
171 $invalidLinks[
$key] = $this->
getRowHandler()->formatInvalidLinkArray($invalidLink);
183 $this->
setRowTemplate(
'tpl.link_checker_table_row.html',
'Services/LinkChecker');
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
setEnableNumInfo($a_val)
Set enable num info.
getRefreshButton()
get refresh button attributes
class for checking external links in page objects Normally used in Cron jobs, but should be extensibl...
getParentCmd()
Get parent command.
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false, $include_seconds=false)
Format a date public.
getParentObject()
Get parent object.
setRowHandler(ilLinkCheckerGUIRowHandling $rowHandler)
Set the row handler.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
class ilLinkCheckerTableGUI
setLinkChecker(ilLinkChecker $linkChecker)
Set the link checker instance.
getRowHandler()
Get the row handler.
Class ilObjectGUI Basic methods of all Output classes.
interface ilLinkCheckerGUIRowHandling
getLinkChecker()
Gget the link checker instance.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setRefreshButton($txt, $cmd)
Set refresh button attributes.
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.
setEnableHeader($a_enableheader)
Set Enable Header.
setEnableTitle($a_enabletitle)
Set Enable Title.
setLimit($a_limit=0, $a_default_limit=0)
__construct(ilObjectGUI $parentGUIObject, $parentStdCmd)
Constructor.
prepareHTML()
Call this before using getHTML()