コード例 #1
0
ファイル: Service.php プロジェクト: BulatSa/Ctex
 /**
  * Returns the URL of this service, or optionally that of
  * an instance
  *
  * @param string $resource the resource required
  * @param array $args extra arguments to pass to the URL as query strings
  */
 public function url($resource = self::URL_RESOURCE, array $args = array())
 {
     return parent::url($resource, $args);
 }
コード例 #2
0
ファイル: Service.php プロジェクト: BulatSa/Ctex
 /**
  * Returns the URL of this database service, or optionally that of
  * an instance
  *
  * @param string $resource the resource required
  * @param array $args extra arguments to pass to the URL as query strings
  */
 public function url($resource = 'instances', array $args = array())
 {
     return parent::url($resource, $args);
 }