restriction->setConfiguration($_POST); $this->send($result); } $restriction = $this->restriction->getConfiguration(); $this->view->type = $type; $this->view->enabled = isset($restriction->enabled) ? $restriction->enabled : false; $this->view->cidrs = isset($restriction->cidrs) ? explode(',', $restriction->cidrs) : array(); $this->display(); } }