Extension - EFullCalendar


public function actionCalendarEvents()

	{

		$items[]=array(

			'title'=>'Meeting',

			'start'=>'2015-06-23',

			'color'=>'#CC0000',

			'allDay'=>true,

			'url'=>'http://www.google.com'

		);

		$items[]=array(

			'title'=>'Meeting reminder',

			'start'=>'2015-06-19',

			'end'=>'2015-06-22',	 

			'color'=>'blue',

		);

		echo CJSON::encode($items);

		Yii::app()->end();

		

	}

above is the default coding.

as for the title and date, i would like to take the value from database COURSE - Course_Name & Course_Date.

How am i going to extract the value…?

since i am new to Yii, i would really need help!

the version i’m using is Yii 1.1.6.