public function AjaxFilesLinkCreate() { $oAccount = $this->getDefaultAccountFromParam(); if (!$this->oApiCapability->isFilesSupported($oAccount)) { throw new \ProjectCore\Exceptions\ClientException(\ProjectCore\Notifications::FilesNotAllowed); } $sType = $this->getParamValue('Type'); $sPath = $this->getParamValue('Path'); $sLink = $this->getParamValue('Link'); $sName = $this->getParamValue('Name'); $oResult = $this->oApiFilestorage->createLink($oAccount, $sType, $sPath, $sLink, $sName); return $this->DefaultResponse($oAccount, __FUNCTION__, $oResult); }