public function getgroupAction() { $id = $this->_getParam("id"); $config = Classificationstore\GroupConfig::getByName($id); $data = array("id" => $id, "name" => $config->getName(), "description" => $config->getDescription()); $this->_helper->json($data); }
public function getgroupAction() { $id = $this->getParam("id"); $config = Classificationstore\GroupConfig::getByName($id); $data = ["storeId" => $config->getStoreId(), "id" => $id, "name" => $config->getName(), "description" => $config->getDescription(), "sorter" => $config->getSorter()]; $this->_helper->json($data); }