Динамическая загрузка компонента
//загрузка компонента Yii::app()->setComponents(array ('mycomponent'=>array('class'=>'ext.mycomponent.component'))); //Вызов метода компонента $return = Yii::app()->mycomponent->render();
Стандартная конфигурация компонета
nano /config/main.php
// application components 'components'=>array( 'request' => array( // http://www.yiiframework.com/doc/guide/1.1/ru/topics.security //'enableCsrfValidation'=>true, 'enableCookieValidation'=>true, ), ),