2require_once(
'class.ilMemcacheServer.php');
 
    3require_once(
'./Services/Table/classes/class.ilTable2GUI.php');
 
    4require_once(
'./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php');
 
    5require_once(
'./Services/Form/classes/class.ilMultiSelectInputGUI.php');
 
   15    const TPL_ID = 
'tbl_il_memcached _servers';
 
   26        parent::__construct(
null, 
'');
 
   36        $this->
setRowTemplate(
'tpl.memcache_servers.html', 
'Services/GlobalCache');
 
   52        $server = ilMemcacheServer::find($a_set[
'id']);
 
   56        $this->tpl->setVariable(
'HOST', 
$server->getHost());
 
   57        $this->tpl->setVariable(
'PORT', 
$server->getPort());
 
   58        $this->tpl->setVariable(
'WEIGHT', 
$server->getWeight());
 
   69        $current_selection_list->setListTitle($this->lng->txt(
'memcache_actions'));
 
   70        $current_selection_list->setId(
'request_overview_actions_' . 
$server->getId());
 
   71        $current_selection_list->setUseImages(
false);
 
   73        $current_selection_list->addItem($this->lng->txt(
'memcache_edit'), 
'memcache_edit', 
'setup.php?cmd=editMemcacheServer&mcsid=' 
   75        $current_selection_list->addItem($this->lng->txt(
'memcache_delete'), 
'memcache_delete', 
'setup.php?cmd=deleteMemcacheServer&mcsid=' 
   77        $this->tpl->setVariable(
'ACTIONS', $current_selection_list->getHTML());
 
   91        $this->
addColumn($this->
txt(
'status_server'), 
'', 
'25px');
 
  106        return $this->lng->txt(
'memcache_' . 
$key);
 
static getArray($key=null, $values=null)
An exception for terminatinating execution or to throw for unit testing.
User interface class for advanced drop-down selection lists.
Class ilMemcacheServerTableGUI.
addActionMenu(ilMemcacheServer $server)
setEnableHeader($a_enableheader)
Set Enable Header.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
fillRow($a_set)
Standard Version of Fill Row.
setData($a_data)
set table data @access public
setEnableTitle($a_enabletitle)
Set Enable Title.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setLimit($a_limit=0, $a_default_limit=0)
set max.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
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.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
disable($a_module_name)
diesables particular modules of table
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)