Added View methods append & preprend, #16

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@135 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
pzinovkin
2010-03-26 08:49:33 +00:00
parent 942d73caf7
commit 7ee83329d9
3 changed files with 53 additions and 1 deletions

View File

@ -33,6 +33,26 @@ abstract class Layout
$this->view->assign($name, $action->fetch());
}
/**
* @param string $name
* @param Action $action
*/
protected function append($name, $action)
{
$this->view->append($name, $action->fetch());
}
/**
* @param string $name
* @param Action $action
*/
protected function prepend($name, $action)
{
$this->view->prepend($name, $action->fetch());
}
abstract protected function execute();
/**