public function getPager($tpl = 'copix:templates/pager.tpl') { if ($this->_paging && !$this->_pager) { $this->_pager = true; $tplpager = new CopixTpl(); $tplpager->assign('idlist', $this->_id); $tplpager->assignTemplateVars($this->_tplvars); return $tplpager->fetch($tpl); } else { return ''; } }