protected function setTableFooter(\MUtil_Model_Bridge_TableBridge $bridge, \MUtil_Lazy_RepeatableInterface $repeater, $columnClass) { $baseurl = $bridge->getBaseUrl(); // Empty cell for left column $bridge->tf(); $href = array(self::DATE_FACTOR => $repeater->df_link, \MUtil_Model::AUTOSEARCH_RESET => null) + $baseurl; // Repeating column $tf = $bridge->tf(); $tf->class = array($this->dataCellClass, $columnClass); $tf->iflink($repeater->df_link->strlen(), array('href' => $href, $repeater->df_label, 'class' => 'browselink btn btn-xs'), array($repeater->df_label, 'class' => 'browselink btn btn-xs disabled')); $tf->setRepeater($repeater); $tf->setRepeatTags(true); }