Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 284 Bytes
<?php
class View {
public $controller;
public function __construct(Controller\Generic $controller) {
$this->controller = $controller;
}
public function render($viewName) {
extract($this->controller->viewVars);
// $myUrls
include 'views/' . $viewName . '.php';
}
}