Use dot notation for view path in beginContent() and CContentDecorator

Use CController::beginContent() to achieve greater control in rendering a layout.

In the function signature (CBaseController documentation), $view refers to the view path:

public void beginContent(mixed $view=NULL, array $data=array ( ))

The beginContent() method uses the CContentDecorator class. The CContentDecorator documentation uses forward slashes to represent path notation:


In fact, Yii dot-notation is required:


Example from a live Yii site:


Nice, this is probably a bug though either in the documentation or both methods should be supported so might be worth filling it in the bug tracker.