Exemplo n.º 1
0
 /**
  * Get context menu object
  *
  * @return \Ixtrum\FileManager\Plugins\Objects\ContextMenu
  */
 public function getContextMenu()
 {
     $menu = new Objects\ContextMenu();
     $menu->addFilesMenu($this->link("info!"), $this->translator->translate("Details"));
     return $menu;
 }
Exemplo n.º 2
0
 /**
  * Get context menu object
  *
  * @return \Ixtrum\FileManager\Plugins\Objects\ContextMenu
  */
 public function getContextMenu()
 {
     $menu = new Objects\ContextMenu();
     $menu->addContentMenu($this->parent->parent->link("runContentPlugin!", $this->name), $this->translator->translate("Upload files"));
     return $menu;
 }
Exemplo n.º 3
0
 /**
  * Get context menu object
  *
  * @return \Ixtrum\FileManager\Plugins\Objects\ContextMenu
  */
 public function getContextMenu()
 {
     $menu = new Objects\ContextMenu();
     $menu->addFilesMenu($this->link("copy!"), $this->translator->translate("Copy"));
     $menu->addFilesMenu($this->link("cut!"), $this->translator->translate("Cut"));
     return $menu;
 }