Exemple #1
0
 /**
  * Sets variables
  * @param string $username
  * @param string $password
  */
 function __construct($username, $password)
 {
     parent::__construct(self::URL, (string) $username, (string) $password);
 }
Exemple #2
0
 /**
  * Sets variables
  * @param string $username
  * @param string $password
  */
 function __construct($username, $password)
 {
     parent::__construct(self::URL . "{$username}/CloudDrive/Documents/", (string) $username, (string) $password, CURLAUTH_ANY);
 }