/** * Parse & display the page. */ protected function parse() { parent::parse(); // parse data grid $this->tpl->assign('dgProfiles', $this->dgProfiles->getNumResults() != 0 ? $this->dgProfiles->getContent() : false); // parse paging & sorting $this->tpl->assign('offset', (int) $this->dgProfiles->getOffset()); $this->tpl->assign('order', (string) $this->dgProfiles->getOrder()); $this->tpl->assign('sort', (string) $this->dgProfiles->getSort()); // parse filter $this->tpl->assign($this->filter); }