public function getCustomLayoutAction() { $customLayout = Object\ClassDefinition\CustomLayout::getById(intval($this->getParam("id"))); $this->_helper->json(["success" => true, "data" => $customLayout]); }