mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
MVC WIP
This commit is contained in:
@ -265,9 +265,9 @@ class Controller extends Component
|
||||
return $this->createView()->render($view, $params);
|
||||
}
|
||||
|
||||
public function renderText($text)
|
||||
public function renderContent($content)
|
||||
{
|
||||
return $this->createView()->renderText($text);
|
||||
return $this->createView()->renderContent($content);
|
||||
}
|
||||
|
||||
public function renderPartial($view, $params = array())
|
||||
|
Reference in New Issue
Block a user