blob: 27e655c6ab817705eed19a6ebd168e1cfef4549e (
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 InfoInput extends Input
{
public function render()
{
$template = $GLOBALS['template_factory']->open('forms/info_input');
$template->title = $this->title;
$template->value = $this->getValue();
$template->attributes = arrayToHtmlAttributes($this->attributes);
return $template->render();
}
public function getAllInputNames()
{
return [];
}
}
|