4require_once
'Services/Table/classes/class.ilTable2GUI.php';
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');
An exception for terminatinating execution or to throw for unit testing.
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false, $include_seconds=false)
Format a date @access public.
@classDescription Date and time handling
class ilLinkCheckerTableGUI
__construct(ilObjectGUI $parentGUIObject, $parentStdCmd)
Constructor.
getRowHandler()
Get the row handler.
setLinkChecker(ilLinkChecker $linkChecker)
Set the link checker instance.
prepareHTML()
Call this before using getHTML()
getLinkChecker()
Gget the link checker instance.
setRefreshButton($txt, $cmd)
Set refresh button attributes.
getRefreshButton()
get refresh button attributes
setRowHandler(ilLinkCheckerGUIRowHandling $rowHandler)
Set the row handler.
class for checking external links in page objects Normally used in Cron jobs, but should be extensibl...
Class ilObjectGUI Basic methods of all Output classes.
setEnableHeader($a_enableheader)
Set Enable Header.
getParentObject()
Get parent object.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setData($a_data)
set table data @access public
setEnableTitle($a_enabletitle)
Set Enable Title.
setEnableNumInfo($a_val)
Set enable num info.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setLimit($a_limit=0, $a_default_limit=0)
set max.
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.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
interface ilLinkCheckerGUIRowHandling
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc