protected function parse() { parent::parse(); // assign the datagrid $this->tpl->assign('dataGrid', $this->dataGrid->getNumResults() != 0 ? $this->dataGrid->getContent() : false); }