/** * Email log view * */ protected function elView() { if (($iLogID = $this->oInput->get('view', 0)) < 1) { throw new PPI_Exception('Invalid Log ID: ' . $iLogID); } $oLog = new PPI_Model_Shared('ppi_email_log', 'id'); $this->adminLoad('admin/emaillog_view.tpl', array('log' => $oLog->find($iLogID), 'leftMenu' => true, 'pageTitle' => 'View User')); }