new Поле для html

This commit is contained in:
origami11@yandex.ru 2022-12-16 16:24:37 +03:00
commit b7bac2b6a7
3 changed files with 11 additions and 2 deletions

View file

@ -62,7 +62,8 @@ class Form extends View {
'filebrowser' => 'ctiso\\Form\\BrowserInput',
'documents' => 'ctiso\\Form\\BrowserInput',
'chooser' => 'ctiso\\Form\\Input',
'select_chooser' => 'ctiso\\Form\\SelectOne'
'select_chooser' => 'ctiso\\Form\\SelectOne'
'html_text' => 'ctiso\\Form\\HtmlText'
);
}

8
src/Form/HtmlText.php Normal file
View file

@ -0,0 +1,8 @@
<?php
namespace ctiso\Form;
use ctiso\Form\Field;
// вставка простого html
class HtmlText extends Field {
}

View file

@ -54,7 +54,7 @@ class Settings
}
/**
* Запись ключа в реестр (Реестр это могомерный массив)
* Запись ключа в реестр (Реестр это многомерный массив)
*/
public function writeKey(array $key, $value)
{