getItem(); } public function getItem() { $item = []; $this->_getDataObj()->setSelectOptions(['order' => 'sorter']); $links = $this->_getDataObj()->getList(); if (!empty($links)) { $item['tpl'] = $this->getTemplate('list.tpl'); $item['list'] = $links; $item['iconWidth'] = $this->getConfig('image')->width; $item['iconHeight'] = $this->getConfig('image')->height; return new Qs_Doc_Item($item); } return false; } }