src/Networks/Belboon.php 1 location
|
@@ 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; |
src/Networks/Daisycon.php 1 location
|
@@ 33-40 (lines=8) @@
|
| 30 |
|
/** |
| 31 |
|
* @method __construct |
| 32 |
|
*/ |
| 33 |
|
public function __construct(string $username, string $password, string $idSite = '') |
| 34 |
|
{ |
| 35 |
|
$this->_network = new \Oara\Network\Publisher\Daisycon; |
| 36 |
|
$this->_username = $username; |
| 37 |
|
$this->_password = $password; |
| 38 |
|
$idSite = $this->_idSite; |
| 39 |
|
$this->login( $this->_username, $this->_password, $idSite ); |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
public function login(string $username, string $password,string $idSite=''): bool{ |
| 43 |
|
$this->_logged = false; |
src/Networks/LinkShare.php 1 location
|
@@ 33-42 (lines=10) @@
|
| 30 |
|
/** |
| 31 |
|
* @method __construct |
| 32 |
|
*/ |
| 33 |
|
public function __construct(string $username, string $password, string $idSite='') |
| 34 |
|
{ |
| 35 |
|
$this->_network = new \Oara\Network\Publisher\LinkShare; |
| 36 |
|
$this->_username = $username; |
| 37 |
|
$this->_password = $password; |
| 38 |
|
$this->_password = $password; |
| 39 |
|
$idSite = $this->_idSite; |
| 40 |
|
|
| 41 |
|
$this->login( $this->_username, $this->_password, $idSite ); |
| 42 |
|
} |
| 43 |
|
|
| 44 |
|
public function login(string $username, string $password,string $idSite=''): bool{ |
| 45 |
|
$this->_logged = false; |
src/Networks/Publicideas.php 1 location
|
@@ 35-43 (lines=9) @@
|
| 32 |
|
/** |
| 33 |
|
* @method __construct |
| 34 |
|
*/ |
| 35 |
|
public function __construct(string $username, string $password, string $token='',string $partner_id='') |
| 36 |
|
{ |
| 37 |
|
$this->_network = new \Oara\Network\Publisher\Publicidees; |
| 38 |
|
$this->_username = $username; |
| 39 |
|
$this->_password = $password; |
| 40 |
|
$this->_token = $token; |
| 41 |
|
$this->_partner_id = $partner_id; |
| 42 |
|
$this->login( $this->_username, $this->_password ); |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
public function login(string $username, string $password,string $idSite=''): bool{ |
| 46 |
|
$this->_logged = false; |
src/Networks/ImpactRadius.php 1 location
|
@@ 33-41 (lines=9) @@
|
| 30 |
|
/** |
| 31 |
|
* @method __construct |
| 32 |
|
*/ |
| 33 |
|
public function __construct(string $username, string $password) |
| 34 |
|
{ |
| 35 |
|
$this->_network = new OaraImpactRadius; |
| 36 |
|
|
| 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 |
|
{ |