/** * @name TypeAdhesionDetailVO() * @return bool * @desc Constructeur */ function TypeAdhesionDetailVO($pId = null, $pIdAdhesion = null, $pLabel = null, $pIdPerimetre = null, $pMontant = null, $pDateCreation = null, $pDateModification = null, $pEtat = null, $pPerId = null, $pPerLabel = null, $pPerDateCreation = null, $pPerDateModification = null, $pPerEtat = null) { parent::__construct($pId, $pIdAdhesion, $pLabel, $pIdPerimetre, $pMontant, $pDateCreation, $pDateModification, $pEtat); if (!is_null($pPerId)) { $this->mPerId = $pPerId; } if (!is_null($pPerLabel)) { $this->mPerLabel = $pPerLabel; } if (!is_null($pPerDateCreation)) { $this->mPerDateCreation = $pPerDateCreation; } if (!is_null($pPerDateModification)) { $this->mPerDateModification = $pPerDateModification; } if (!is_null($pPerEtat)) { $this->mPerEtat = $pPerEtat; } }
/** * @name remplirTypeAdhesion($pId, $pIdAdhesion, $pLabel, $pIdPerimetre, $pMontant, $pDateCreation, $pDateModification, $pEtat) * @param int(11) * @param int(11) * @param varchar(45) * @param int(11) * @param decimal(10,2) * @param datetime * @param datetime * @param tinyint(1) * @return TypeAdhesionVO * @desc Retourne une TypeAdhesionVO remplie */ private static function remplirTypeAdhesion($pId, $pIdAdhesion, $pLabel, $pIdPerimetre, $pMontant, $pDateCreation, $pDateModification, $pEtat) { $lTypeAdhesion = new TypeAdhesionVO(); $lTypeAdhesion->setId($pId); $lTypeAdhesion->setIdAdhesion($pIdAdhesion); $lTypeAdhesion->setLabel($pLabel); $lTypeAdhesion->setIdPerimetre($pIdPerimetre); $lTypeAdhesion->setMontant($pMontant); $lTypeAdhesion->setDateCreation($pDateCreation); $lTypeAdhesion->setDateModification($pDateModification); $lTypeAdhesion->setEtat($pEtat); return $lTypeAdhesion; }