blob: 6cbace8779e2ca178f0f569f663a0b91e64ca9e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
namespace Studip\Forms;
class CalculatorInput extends Input
{
public function render()
{
$template = $GLOBALS['template_factory']->open('forms/calculator_input');
$template->title = $this->title;
$template->value = $this->getValue();
$template->attributes = arrayToHtmlAttributes($this->attributes);
return $template->render();
}
public function getAllInputNames()
{
return [];
}
}
|