/** */ public function editMedia() { $id = null; if ($this->hasRequestParameter('instanceUri')) { $id = $this->getRequestParameter('instanceUri'); } else { $id = $this->getRequestParameter('id'); } $this->setAvailableImportHandlers($id); parent::index(); }
/** * overwrite the parent index to add the requiresRight for Items only * * @requiresRight id WRITE * @see tao_actions_Import::index() */ public function index() { parent::index(); }