This commit is contained in:
Qiang Xue
2013-01-30 23:34:04 -05:00
parent bd320533ab
commit 311f876b7b
4 changed files with 229 additions and 211 deletions

View File

@ -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())