예제 #1
0
 /**
  * Adds the start and limit parameters to each request.
  *
  * {@inheritDoc}
  */
 protected function createUrl($path, array $params = array())
 {
     $params = array_merge(array('startAt' => $this->start, 'maxResults' => $this->limit), $params);
     if ($this->fields) {
         $params['fields'] = $this->fields;
     }
     $url = parent::createUrl($path, $params);
     return $url;
 }