Controller Send Data To File Main.php In Folder Layouts

In function actionIndex of SiteController, i want to send data to file main.php in folder layouts. somebody can help me?

Which data specifically? A simple solution is to make it available in your base Controller class and access it with Yii::app()->controller->yourProperty.

http://www.yiiframework.com/forum/index.php/topic/4473-how-to-pass-variable-to-a-layout/

http://www.yiiframework.com/wiki/412/pass-variables-or-content-block-from-view-file-to-layout-file/

https://www.google.ru/search?q=yii+set+layout+variable