title: add events fullcalendar by json feed
body: <p>I am newbie in yii and fullcalendar, i have 
  - events.php:`
  
  <pre><code>    try {
          $events = array();
  
          $query  = Yii::app()-&gt;db-&gt;createCommand("SELECT schedules.start_at, schedules.end_at, timetables.name,terminals.name FROM schedules, terminals, timetables WHERE schedules.terminal_id = terminals.id and timetables.id = schedules.timetable_id");
          $rows = $query-&gt;queryAll();
          foreach($rows as $row){
              $e = array();
              $e['title'] = $row['name'];
              $e['start'] = $row['start_at'];
              // Merge the event array into the return array
              array_push($events, $e);
          }
          echo json_encode($events);
          exit();
  
      } catch (PDOException $e) {
          print "Error!";
      }
      Yii::app()-&gt;end();
  }
  ?&gt;`
  </code></pre>
  
  <p>I can feed json from events.php in class calendar.php</p>
  
  <pre><code>events:
        {
          url:'events.php'
        }
  </code></pre>
  
  <p>Please help me how to call json "url:" by yii.</p>