src/MailPanel.php
public function getPanel() {
		$template = new FileTemplate();
		$template->registerFilter(new Engine);
		$template->registerHelperLoader('Nette\\Templating\\Helpers::loader');
		$template->setFile(__DIR__ . '/MailPanel.latte');
		$template->baseUrl = $this->request->getUrl()->getBaseUrl();
		$template->messages = $this->mailer->getMessages($this->messagesLimit);

		return (string) $template;
	}
public function getPanel() {
		$template = new FileTemplate();
		$template->registerFilter(new Engine);
		$template->registerHelperLoader('Nette\\Templating\\Helpers::loader');
		$template->setFile(__DIR__ . '/MailPanel.latte');
		$template->baseUrl = $this->request->getUrl()->getBaseUrl();
		$template->messages = $this->mailer->getMessages($this->messagesLimit);

		return (string) $template;
	}
public function getPanel ( ) { $ template = new FileTemplate ( ) ; $ template -> registerFilter ( new Engine ) ; $ template -> registerHelperLoader ( 'Nette\\Templating\\Helpers::loader' ) ; $ template -> setFile ( __DIR__ . '/MailPanel.latte' ) ; $ template -> baseUrl = $ this -> request -> getUrl ( ) -> getBaseUrl ( ) ; $ template -> messages = $ this -> mailer -> getMessages ( $ this -> messagesLimit ) ; return ( string ) $ template ; }
Show content of panel
@return string
Show content of panel