public function __construct($identifiant = null, $enseigne = null, $addresse = null)
 {
     parent::__construct();
     $this->childIdentifiant($identifiant);
     $this->childEnseigne($enseigne);
     $this->childAdresse($addresse);
 }
 public function __construct($produits = array())
 {
     parent::__construct("<list nbproduit='0'></list>");
     foreach ($produits as $produit) {
         $this->addProduit($produit);
     }
 }
 public function __construct(array $params = array())
 {
     parent::__construct();
     foreach ($params as $key => $value) {
         $funcname = "child{$key}";
         $this->{$funcname}($value);
     }
 }
 public function __construct($type = "", $nom = "", $rapidite = "", $pointrelais = array())
 {
     parent::__construct();
     $this->childType($type);
     $this->childNom($nom);
     $this->childRapidite($rapidite);
     $this->childPointrelais($pointrelais);
 }
 public function __construct($siteid, $refid, $montant, $ip, $timestamp, $devise = "EUR")
 {
     parent::__construct();
     $this->childSiteid($siteid, array());
     $this->childRefid($refid, array());
     $this->childMontant($montant, array('devise' => $devise));
     $this->childIp($ip, array('timestamp' => $timestamp));
 }
 public function __construct($type = null, $nom = null, $bin = null, $numcb = null, $dateval = null, $bin4 = null, $bin42 = null)
 {
     parent::__construct();
     $this->childType($type);
     $this->childNom($nom);
     $this->childBin($bin);
     $this->childNumcb($numcb);
     $this->childDateval($dateval);
     $this->childBin4($bin4);
     $this->childBin42($bin42);
 }
 public function __construct($type = null, $civility = null, $lastname = null, $firstname = null, $society = null, $phone_home = null, $phone_mobile = null, $phone_fax = null, $email_address = null)
 {
     parent::__construct();
     if (!is_null($type)) {
         $this->addAttribute("type", $type);
     }
     $this->addAttribute("qualite", self::TYPE_PARTICULIER);
     $this->childNom($lastname, array('titre' => $civility));
     $this->childPrenom($firstname);
     $this->childSociete($society);
     $this->childTelhome($phone_home);
     $this->childTelmobile($phone_mobile);
     $this->childFax($phone_fax);
     $this->childEmail($email_address);
 }
 public function __construct($type = null, $rue1 = null, $rue2 = null, $cpostal = null, $ville = null, $pays = null, XMLElement $appartement = null)
 {
     parent::__construct();
     if (!is_null($type)) {
         $this->addAttribute('type', $type);
     }
     $this->addAttribute('format', self::FORMAT);
     $this->childRue1($rue1);
     $this->childRue2($rue2);
     $this->childCpostal($cpostal);
     $this->childVille($ville);
     $this->childPays($pays);
     if (!is_null($appartement)) {
         $this->childAppartement($appartement);
     }
 }
 public function __construct()
 {
     parent::__construct("<control fianetmodule='api_prestashop_certissim' version='3.0' certissimmodule='3.6'></control>");
 }