Избавляемся от статических классов и синглтонов

This commit is contained in:
CORP\phedor 2018-03-27 12:23:58 +03:00
parent 77fa3dbd5e
commit 805fb6654d
11 changed files with 177 additions and 309 deletions

View file

@ -304,12 +304,12 @@ class Controller_Action
/**
* Добавление widget к отображению
*/
public function addChild(/*Widget*/ $section, $node)
public function addChild(/*Widgets_Widget*/ $section, $node)
{
$this->childNodes[$section] = $node;
}
public function setValue(/*Widget*/ $name, $value)
public function setValue(/*Widgets_Widget*/ $name, $value)
{
$this->ctrlValues[$name] = $value;
}