'doList', ); /** * @param $DB_List DB_List * @return bool */ function _doListBind($DB_List) { $DB_List->insertColLast('added', array( 'title' => 'Date', 'order_by' => 'added', 'width' => 20, 'date_format' => '%b %e, %Y %l:%M %p', 'tpl' => DB_LIST_CELL_DATE, 'params' => array('added'), )); $DB_List->insertColLast('accounttype', array( 'title' => 'Account Type', 'order_by' => 'accounttype', 'width' => 20, 'tpl' => 'Member/Admin/cells/historyAccountType.tpl', 'params' => array('accounttype'), )); $DB_List->insertColLast( 'status', array( 'title' => 'Changes', 'width' => 180, 'tpl' => 'Member/Admin/cells/historyStatusChange.tpl', ) ); $DB_List->def_order_by = 'added DESC'; $DB_List->bind(); return true; } function addLink() { $item = array( 'tpl' => 'center_link.tpl', 'link' => Constant::get('BASE_URL') . '/admin/member?action=edit&id=' . $this->DBObj->getMemberId(), 'title' => '<< Back to Edit ' . $this->DBObj->itemName . ' page' ); $this->Doc->addContent($item); } }