function Docman_View_ItemDetailsSectionPaste(&$item, $url, &$controller, $itemToPaste, $mode) { parent::Docman_View_ItemDetailsSectionActions($item, $url, false, true, $controller); $this->itemToPaste = $itemToPaste; $pm = ProjectManager::instance(); $this->srcGo = $pm->getProject($this->itemToPaste->getGroupId()); $this->dstGo = $pm->getProject($item->getGroupId()); $this->mode = $mode; }
function Docman_View_ItemDetailsSectionMove(&$item, $url, &$controller, $params, $token) { parent::Docman_View_ItemDetailsSectionActions($item, $url, false, true, $controller); $this->params = $params; $this->token = $token; }
function Docman_View_ItemDetailsSectionNewVersion(&$item, $url, &$controller, $force, $token) { parent::Docman_View_ItemDetailsSectionActions($item, $url, false, true, $controller); $this->force = $force; $this->token = $token; }