Класс optionfactory

This commit is contained in:
Фёдор Подлеснов 2018-02-01 15:05:10 +03:00
parent 7b3190f96e
commit 0c4c6fd86e

View file

@ -177,7 +177,7 @@ class Controller_Component
public function setParameters(/*.View_Composite.*/$view)
{
$form = new Form_Form();
$options = new OptionFactory($this->db, $this->registry);
$options = new Form_OptionFactory($this->db, $this->registry);
$settings = $this->getInfo();
$form->addFieldList($settings['parameter'], $options);