@@ 32-39 (lines=8) @@ | ||
29 | /** |
|
30 | * @method __construct |
|
31 | */ |
|
32 | public function __construct(string $username, string $password,string $idSite='') |
|
33 | { |
|
34 | $this->_network = new \Padosoft\AffiliateNetwork\EffiliationEx; |
|
35 | $this->_username = $username; |
|
36 | $this->_password = $password; |
|
37 | $this->login( $this->_username, $this->_password ); |
|
38 | $this->_apiClient = null; |
|
39 | } |
|
40 | public function login(string $username, string $password,string $idSite=''): bool{ |
|
41 | $this->_logged = false; |
|
42 | if (isNullOrEmpty( $password )) { |
@@ 37-44 (lines=8) @@ | ||
34 | /** |
|
35 | * @method __construct |
|
36 | */ |
|
37 | public function __construct(string $username, string $password,string $idSite='') |
|
38 | { |
|
39 | $this->_network = new TradeDoublerEx; |
|
40 | $this->_username = $username; |
|
41 | $this->_password = $password; |
|
42 | $this->_apiClient = null; |
|
43 | $this->login( $this->_username, $this->_password ); |
|
44 | } |
|
45 | ||
46 | public function login(string $username, string $password,string $idSite=''): bool |
|
47 | { |
@@ 34-41 (lines=8) @@ | ||
31 | /** |
|
32 | * @method __construct |
|
33 | */ |
|
34 | public function __construct(string $username, string $password) |
|
35 | { |
|
36 | $this->_network = new AffiliateWindowEx; |
|
37 | $this->_username = $username; |
|
38 | $this->_password = $password; |
|
39 | $this->_apiClient = null; |
|
40 | $this->login( $this->_username, $this->_password ); |
|
41 | } |
|
42 | ||
43 | public function login(string $username, string $password): bool |
|
44 | { |