예제 #1
0
 function __construct($company, $environment, $instance)
 {
     parent::__construct($company, $environment, $instance, 'search');
     $this->url = "https://{$this->host}/{$company}.{$environment}.{$instance}/";
 }
예제 #2
0
 function __construct($company, $environment, $instance, $token, $user)
 {
     parent::__construct($company, $environment, $instance, 'upload');
     $this->url = "https://{$this->host}/";
     $this->getParams = http_build_query(array('instance_name' => $instance, 'token' => $token, 'user' => $user, 'env' => $environment, 'company_id' => $company));
 }