function get_scoped_regions() { $storage_key = $_POST['storage_key']; $scope = $_POST['scope']; $name = $_POST['name']; $regions = Upfront_Layout::get_scoped_regions($name, $scope, $storage_key); $this->_out(new Upfront_JsonResponse_Success($regions)); }