Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 9 |
App\Controllers\FormularViewController | |
0.00% |
0 / 1 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 9 |
__construct | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
formularTemplateAction | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 6 |
<?php | |
namespace App\Controllers; | |
use \Core\View; | |
use App\Models\Formular; | |
class FormularViewController extends \Core\Controller { | |
private $formular; | |
public function __construct($route_params) { | |
parent::__construct($route_params); | |
$this->formular = Formular::getInstance(); | |
} | |
/** | |
* Show the Formular page | |
* | |
* @return void | |
*/ | |
public function formularTemplateAction() { | |
View::renderTemplate('formularTemplate.twig', array("name" => "Formular Seite", | |
"link" => "Payment Seite", | |
"formular" => $this->formular | |
) | |
); | |
} | |
} |