public function deletePropertyAction() { $id = $this->getParam("id"); $config = Classificationstore\KeyConfig::getById($id); // $config->delete(); $config->setEnabled(false); $config->save(); $this->_helper->json(["success" => true]); }