News are coming
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@38 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -1,16 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* Рутовый класс для любого действия.
|
||||
* Описывает основной функционал для работы с классами действий.
|
||||
* Описывает основной функционал для работы с классами действий.
|
||||
*
|
||||
* @copyright
|
||||
* @link
|
||||
* @copyright
|
||||
* @link
|
||||
* @package Majestic
|
||||
* @subpackage Action
|
||||
* @since
|
||||
* @since
|
||||
* @version SVN: $Id$
|
||||
* @filesource $URL$
|
||||
*/
|
||||
*/
|
||||
abstract class Action
|
||||
{
|
||||
public $template; //шаблон действия
|
||||
@ -44,8 +44,9 @@ abstract class Action
|
||||
*/
|
||||
public function display()
|
||||
{
|
||||
$this->templater = Load::templater(ACTION_TPL_PATH.'/'.$this->template_dir);
|
||||
$this->templater = Load::templater();
|
||||
$this->prepare();
|
||||
$this->templater->setPath(ACTION_TPL_PATH.'/'.$this->template_dir);
|
||||
return $this->templater->fetch($this->template.'.tpl');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user