mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 14:57:23 +08:00
Finished console support.
Finished migrate command.
This commit is contained in:
@@ -317,6 +317,11 @@ class Controller extends Component
|
||||
return $this->createView()->renderPartial($view, $params);
|
||||
}
|
||||
|
||||
public function renderFile($file, $params = array())
|
||||
{
|
||||
return $this->createView()->renderFile($file, $params);
|
||||
}
|
||||
|
||||
public function createView()
|
||||
{
|
||||
return new View($this);
|
||||
|
||||
Reference in New Issue
Block a user