protected function parse()
{
parent::parse();
// parse datagrid
$this->tpl->assign('dgGroups', $this->dgGroups->getNumResults() != 0 ? $this->dgGroups->getContent() : false);
// parse paging & sorting
$this->tpl->assign('offset', (int) $this->dgGroups->getOffset());
$this->tpl->assign('order', (string) $this->dgGroups->getOrder());
$this->tpl->assign('sort', (string) $this->dgGroups->getSort());
// parse filter
$this->tpl->assign($this->filter);
}