4include_once(
"class.ilCloudPluginListGUI.php");
 
   38        public function getSelectionListItemsHTML($delete_item = 
false, $delete_folder = 
false, 
ilCloudFileNode $node) {
 
   50                if (($delete_item && !
$node->getIsDir()) || ($delete_folder && 
$node->getIsDir()) || $this->checkHasAction()) {
 
   51                        include_once(
"./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
 
   53                        $this->selection_list->setId(
"id_action_list_" . $this->node->getId());
 
   54                        $this->selection_list->setListTitle(
$lng->txt(
"actions"));
 
   55                        $this->selection_list->setItemLinkClass(
"xsmall");
 
   58                                $this->selection_list->setAsynch(
true);
 
   59                                $this->selection_list->setAsynchUrl(html_entity_decode(
$ilCtrl->getLinkTargetByClass(
"ilobjcloudgui", 
"asyncGetActionListContent", 
false)
 
   60                                        . 
"&node_id=" . 
$node->getId()));
 
   65                        return $this->selection_list->getHtml();
 
   80                if (($delete_item && !$this->node->getIsDir()) || ($delete_folder && $this->node->getIsDir())) {
 
   81                        $this->selection_list->addItem(
$lng->txt(
"delete"), 
"delete_item", 
"javascript:il.CloudFileList.deleteItem(\'" . $this->node->getId()
 
   98                include_once(
"./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
 
  100                $this->selection_list->setId($this->node->getId());
 
  101                $this->selection_list->setListTitle(
$lng->txt(
"actions"));
 
  102                $this->selection_list->setItemLinkClass(
"xsmall");
 
  105                if ($this->selection_list->getItems() != NULL) {
 
  106                        echo $this->selection_list->getHTML(
true);
 
  109                        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.