public function featuredropAction() { $pId = 79; $lang = 'en'; if ($this->tplVars['lvals']['canDelete']) { if ($this->_hasParam('pid') && $this->_hasParam('fid') && $this->_hasParam('lang')) { $pId = $this->_getParam('pid'); $fId = $this->_getParam('fid'); $lang = $this->_getParam('lang'); $products = new AdminProducts(); $products->dropFeatures($fId, $lang); } } $this->_redirect('/products/featuredit/id/' . $pId . '/lang/' . $lang . '/'); }