protected function getListShipping()
    {
        $id = $this->getParam(0);

        if (!isset($id)) {
            $list = $this->shipping->getList();
            $this->limitArray($list);
            return $list;
        }

        $method = $this->shipping->get($id);

        if (empty($method)) {
            $this->errorAndExit($this->text('Unexpected result'));
        }

        return array($method);
    }