@@ 35-44 (lines=10) @@ | ||
32 | /** |
|
33 | * @method __construct |
|
34 | */ |
|
35 | public function __construct(string $username, string $passwordApi, string $idSite='') |
|
36 | { |
|
37 | $this->_network = new AffilinetEx; |
|
38 | $this->_username = $username; |
|
39 | $this->_password = $passwordApi; |
|
40 | $this->_passwordApi = $passwordApi; |
|
41 | $this->_website_id = $idSite; |
|
42 | $this->login( $this->_username, $this->_password ,$idSite); |
|
43 | // $this->_apiClient = \ApiClient::factory(PROTOCOL_JSON); |
|
44 | } |
|
45 | ||
46 | /** |
|
47 | * @return bool |
@@ 36-45 (lines=10) @@ | ||
33 | /** |
|
34 | * @method __construct |
|
35 | */ |
|
36 | public function __construct(string $username, string $passwordApi, string $idSite='') |
|
37 | { |
|
38 | $this->_network = new \Oara\Network\Publisher\CommissionJunction; |
|
39 | $this->_username = $username; |
|
40 | $this->_password = $passwordApi; |
|
41 | $this->_passwordApi = $passwordApi; |
|
42 | $this->_website_id = $idSite; |
|
43 | $this->login( $this->_username, $this->_password ,$idSite); |
|
44 | // $this->_apiClient = \ApiClient::factory(PROTOCOL_JSON); |
|
45 | } |
|
46 | ||
47 | /** |
|
48 | * @return bool |