feat: Получение списка свойст компонента

This commit is contained in:
origami11@yandex.ru 2025-03-27 15:37:31 +03:00
parent 2aa77efd94
commit 2f8c788664

View file

@ -232,6 +232,13 @@ class Component
$view->component_title = $settings['title'];
}
public function getFields($options = null) {
$form = new Form();
$form->addFieldList($this->getInfo()['parameter'], $options);
return $form->field;
}
/**
* Обьеденить с ComponentFactory
*/