Files
scummvm-web/include/Pages/ContactPage.php
Mataniko 4471b291a1 WEB: Convert all models to not be static objects
This is a first step towards moving to a dependency injection model.
2020-09-27 22:08:07 -04:00

26 lines
543 B
PHP

<?php
namespace ScummVM\Pages;
use ScummVM\Controller;
class ContactPage extends Controller
{
/* Constructor. */
public function __construct()
{
parent::__construct();
$this->template = 'pages/contact.tpl';
}
/* Display the index page. */
public function index()
{
return $this->renderPage(
array(
'title' => $this->getConfigVars('contactTitle'),
'content_title' => $this->getConfigVars('contactContentTitle'),
)
);
}
}