_addRefreshItem(); return $this; } protected function _doRefresh() { $this->_getDataObj()->collectFiles(); $this->_getDataObj()->refreshStatuses(); $this->_doBack(); return $this; } protected function _addRefreshItem() { $item = [ 'refreshTime' => $this->_getDataObj()->getRefreshTime(), 'refreshUrl' => $this->url(['action' => 'refresh']), 'tpl' => $this->getTemplate('refreshTime.tpl'), ]; $this->_addItem($item); return $this; } }