Ejemplo n.º 1
0
 public function load_time_shift()
 {
     $offset = $this->input['offset'] ? intval($this->input['offset']) : 0;
     $count = $this->input['count'] ? intval($this->input['count']) : 50;
     $cond = array('offset' => $offset, 'count' => $count, 'is_stream' => 0, 'fetch_live' => 1);
     $mLive = new live();
     $channel = $mLive->getChannelInfo($cond);
     $return['channel'] = $channel;
     $this->addItem($return);
     $this->output();
 }