Пример #1
0
 /**
  * Load the item data
  */
 protected function loadData()
 {
     $this->id = $this->getParameter('id', 'int', null);
     if ($this->id == null || !BackendMailengineModel::existsStatsMail($this->id)) {
         $this->redirect(BackendModel::createURLForAction('stats') . '&error=non-existing');
     }
     $this->record = BackendMailengineModel::getStatsOverlay($this->id);
 }