Еще рефакторинг имен
This commit is contained in:
parent
981a1d0f0f
commit
312f18a20a
7 changed files with 15 additions and 12 deletions
|
|
@ -29,12 +29,12 @@ class View_Top // AbstractCompositeView
|
|||
|
||||
public function jGrowl($message, $args)
|
||||
{
|
||||
$this->addScriptRaw('$.jGrowl("' . $message . '", ' . json::encode($args) . ");\n", true);
|
||||
$this->addScriptRaw('$.jGrowl("' . $message . '", ' . json_encode($args) . ");\n", true);
|
||||
}
|
||||
|
||||
public function setGlobal($name, $args)
|
||||
{
|
||||
$this->addScriptRaw("var " . $name . " = " . json::encode($args) . ";\n", false);
|
||||
$this->addScriptRaw("var " . $name . " = " . json_encode($args) . ";\n", false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Класс отображения
|
||||
// CompositeView !! Composite pattern
|
||||
|
||||
class View
|
||||
class View_View
|
||||
{
|
||||
protected $document;
|
||||
protected $values;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue