4include_once(
"class.ilCloudPluginListGUI.php");
 
   39    public function getSelectionListItemsHTML($delete_item = 
false, $delete_folder = 
false, 
ilCloudFileNode $node)
 
   51        if (($delete_item && !
$node->getIsDir()) || ($delete_folder && 
$node->getIsDir()) || $this->checkHasAction()) {
 
   52            include_once(
"./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
 
   54            $this->selection_list->setId(
"id_action_list_" . $this->node->getId());
 
   55            $this->selection_list->setListTitle(
$lng->txt(
"actions"));
 
   56            $this->selection_list->setItemLinkClass(
"xsmall");
 
   59                $this->selection_list->setAsynch(
true);
 
   60                $this->selection_list->setAsynchUrl(html_entity_decode(
$ilCtrl->getLinkTargetByClass(
"ilobjcloudgui", 
"asyncGetActionListContent", 
false)
 
   61                    . 
"&node_id=" . 
$node->getId()));
 
   66            return $this->selection_list->getHtml();
 
   82        if (($delete_item && !$this->node->getIsDir()) || ($delete_folder && $this->node->getIsDir())) {
 
   83            $this->selection_list->addItem(
$lng->txt(
"delete"), 
"delete_item", 
"javascript:il.CloudFileList.deleteItem(\'" . $this->node->getId()
 
  101        include_once(
"./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
 
  103        $this->selection_list->setId($this->node->getId());
 
  104        $this->selection_list->setListTitle(
$lng->txt(
"actions"));
 
  105        $this->selection_list->setItemLinkClass(
"xsmall");
 
  108        if ($this->selection_list->getItems() != 
null) {
 
  109            echo $this->selection_list->getHTML(
true);
 
  112            echo 
$lng->txt(
"empty");
 
An exception for terminatinating execution or to throw for unit testing.
User interface class for advanced drop-down selection lists.
Class ilCloudPluginActionListGUI.
asyncGetContent($delete_item=false, $delete_folder=false, ilCloudFileNode $node)
addSelectionListItems($delete_item, $delete_folder)
Class ilCloudPluginListGUI.