| @@ 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\BelboonEx; |
|
| 35 | $this->_username = $username; |
|
| 36 | $this->_password = $password; |
|
| 37 | $this->login( $this->_username, $this->_password, $idSite ); |
|
| 38 | $this->_apiClient = null; |
|
| 39 | } |
|
| 40 | ||
| 41 | public function login(string $username, string $password, string $idSite=''): bool{ |
|
| 42 | $this->_logged = false; |
|
| @@ 33-41 (lines=9) @@ | ||
| 30 | /** |
|
| 31 | * @method __construct |
|
| 32 | */ |
|
| 33 | public function __construct(string $username, string $password, string $idSite = '') |
|
| 34 | { |
|
| 35 | $this->_network = new \Oara\Network\Publisher\Digidip; |
|
| 36 | $this->_username = $username; |
|
| 37 | $this->_password = $password; |
|
| 38 | $this->_idSite = $idSite; |
|
| 39 | ||
| 40 | $this->login( $this->_username, $this->_password, $this->_idSite ); |
|
| 41 | } |
|
| 42 | ||
| 43 | public function login(string $username, string $password, string $idSite = ''): bool{ |
|
| 44 | $this->_logged = false; |
|
| @@ 41-49 (lines=9) @@ | ||
| 38 | * @param string $password |
|
| 39 | * @param string $idSite |
|
| 40 | */ |
|
| 41 | public function __construct(string $username, string $password, string $idSite = '') |
|
| 42 | { |
|
| 43 | $this->_network = new \Oara\Network\Publisher\TradeDoubler; |
|
| 44 | $this->_username = $username; |
|
| 45 | $this->_password = $password; |
|
| 46 | $this->_idSite = $idSite; |
|
| 47 | $this->_apiClient = null; |
|
| 48 | $this->login( $this->_username, $this->_password, $this->_idSite ); |
|
| 49 | } |
|
| 50 | ||
| 51 | public function login(string $username, string $password, string $idSite = ''): bool |
|
| 52 | { |
|