Возможность получить список опций через мэппер

This commit is contained in:
Anatoly 2017-11-30 10:58:50 +03:00
parent e6686e3bd3
commit 6573c07d09
2 changed files with 8 additions and 3 deletions

View file

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