Create a new page

Hi,

i’m the new one Yii framework, i would like a create a new page for bootstrap.

In the controller:

public function actionBootstrap()

{

$this->render(‘bootstrap’);

}

and in the view file:bootstrap.php

<div class="bootstrap-alert">

<?php

Yii::app()->user->setFlash(‘success’, ‘<strong>Well done!</strong> You successfully read this important alert message.’);

Yii::app()->user->setFlash(‘info’, '<strong>Heads up!</strong> This alert needs your attention, but it\‘s not super important.’);

Yii::app()->user->setFlash(‘warning’, '<strong>Warning!</strong> Best check yo self, you\‘re not looking too good.’);

Yii::app()->user->setFlash(‘error’, ‘<strong>Oh snap!</strong> Change a few things up and try submitting again.’);

?>

<?php

$this->widget(‘bootstrap.widgets.BootAlert’);

?>

</div>

<div class="bootstrap-breadcrumbs">

<?php

$this->widget(‘bootstrap.widgets.BootBreadcrumbs’, array(

‘links’ => array(‘Library’ => ‘#’, ‘Data’),

));

?>

</div>

the issue is to display a test of bootstrap.

but it’s doesn’t work:

PHP notice

Trying to get property of non-object

thanks in advance…