new Поле для html
This commit is contained in:
commit
b7bac2b6a7
3 changed files with 11 additions and 2 deletions
|
|
@ -62,7 +62,8 @@ class Form extends View {
|
||||||
'filebrowser' => 'ctiso\\Form\\BrowserInput',
|
'filebrowser' => 'ctiso\\Form\\BrowserInput',
|
||||||
'documents' => 'ctiso\\Form\\BrowserInput',
|
'documents' => 'ctiso\\Form\\BrowserInput',
|
||||||
'chooser' => 'ctiso\\Form\\Input',
|
'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
8
src/Form/HtmlText.php
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace ctiso\Form;
|
||||||
|
use ctiso\Form\Field;
|
||||||
|
|
||||||
|
// вставка простого html
|
||||||
|
class HtmlText extends Field {
|
||||||
|
}
|
||||||
|
|
@ -54,7 +54,7 @@ class Settings
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Запись ключа в реестр (Реестр это могомерный массив)
|
* Запись ключа в реестр (Реестр это многомерный массив)
|
||||||
*/
|
*/
|
||||||
public function writeKey(array $key, $value)
|
public function writeKey(array $key, $value)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue