setId($cid); $this->currency = $model->getCurrency(); $this->SetViewTitle('',$this->currency->currency_name); $this->addStandardEditViewCommands(); } else { $this->SetViewTitle(); $this->addStandardDefaultViewCommands(); $this->addStandardDefaultViewLists($model,0,'ASC'); $this->currencies = $model->getCurrenciesList(vRequest::getCmd('search', false)); $this->pagination = $model->getPagination(); } parent::display($tpl); } } // pure php no closing tag