Commande Entity Class This class represents a Commande (Order) entity in the system. It extends the EntityRepository class to provide data access and manipulation capabilities. The class manages order-related data including customer information, pricing details, addresses, and various order attributes. It provides getter and setter methods for all properties and handles data validation.
function __construct($id_obje = null) {
try {
if ($id_obje) {
$datas = parent::find($this->id_type, $id_obje, $this);
$this->initializeProperties($datas);
}
} catch (Exception $e) {
// Propagate the exception
throw $e;
}
}
🖋 Author
TS_NOOA: Team
🔧 __construct
function __construct($id_obje = null) {
try {
if ($id_obje) {
$datas = parent::find($this->id_type, $id_obje, $this);
$this->initializeProperties($datas);
}
} catch (Exception $e) {
// Propagate the exception
throw $e;
}
}
🔧 __construct
function __construct($id_obje = null) {
try {
if ($id_obje) {
$datas = parent::find($this->id_type, $id_obje, $this);
$this->initializeProperties($datas);
}
} catch (Exception $e) {
// Propagate the exception
throw $e;
}
}
🔧 __construct
Class constructor initializes the object with type and ID
function __construct($id_obje = null) {
try {
if ($id_obje) {
$datas = parent::find($this->id_type, $id_obje, $this);
$this->initializeProperties($datas);
}
} catch (Exception $e) {
// Propagate the exception
throw $e;
}
}
⚙️ Parameters
$id_obje(int) Object instance ID
⚠️ Throws
Exception: If initialization fails
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
function getNumero() {
return $this->Numero;
}
🔧 getNumero
Gets the Numero property value
function getNumero() {
return $this->Numero;
}
↩️ Returns
(mixed) The property value
🔧 setNumero
Sets the Numero property value
function setNumero($value) {
// Basic property assignment
$this->Numero = $value;
// Store the value for saving later
$this->datas["att4"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getComplement
Gets the Complement property value
function getComplement() {
return $this->Complement;
}
↩️ Returns
(mixed) The property value
🔧 setComplement
Sets the Complement property value
function setComplement($value) {
// Basic property assignment
$this->Complement = $value;
// Store the value for saving later
$this->datas["att3"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getDocument
Gets the Document property value
function getDocument() {
return $this->Document;
}
↩️ Returns
(mixed) The property value
🔧 setDocument
Sets the Document property value
function setDocument($value) {
// Basic property assignment
$this->Document = $value;
// Store the value for saving later
$this->datas["att1"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getTitre
Gets the Titre property value
function getTitre() {
return $this->Titre;
}
↩️ Returns
(mixed) The property value
🔧 setTitre
Sets the Titre property value
function setTitre($value) {
// Basic property assignment
$this->Titre = $value;
// Store the value for saving later
$this->datas["att2"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getMentions
Gets the Mentions property value
function getMentions() {
return $this->Mentions;
}
↩️ Returns
(mixed) The property value
🔧 setMentions
Sets the Mentions property value
function setMentions($value) {
// Basic property assignment
$this->Mentions = $value;
// Store the value for saving later
$this->datas["att90"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getDateDeSignature
Gets the DateDeSignature property value
function getDateDeSignature() {
return $this->DateDeSignature;
}
↩️ Returns
(mixed) The property value
🔧 setDateDeSignature
Sets the DateDeSignature property value
function setDateDeSignature($value) {
// Basic property assignment
$this->DateDeSignature = $value;
// Store the value for saving later
$this->datas["attf100"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getNomduclient
Gets the Nomduclient property value
function getNomduclient() {
return $this->Nomduclient;
}
↩️ Returns
(mixed) The property value
🔧 setNomduclient
Sets the Nomduclient property value
function setNomduclient($value) {
// Basic property assignment
$this->Nomduclient = $value;
// Store the value for saving later
$this->datas["att5"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getIncrement
Gets the Increment property value
function getIncrement() {
return $this->Increment;
}
↩️ Returns
(mixed) The property value
🔧 setIncrement
Sets the Increment property value
function setIncrement($value) {
// Basic property assignment
$this->Increment = $value;
// Store the value for saving later
$this->datas["att6"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getPrefixe
Gets the Prefixe property value
function getPrefixe() {
return $this->Prefixe;
}
↩️ Returns
(mixed) The property value
🔧 setPrefixe
Sets the Prefixe property value
function setPrefixe($value) {
// Basic property assignment
$this->Prefixe = $value;
// Store the value for saving later
$this->datas["att7"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getIduser
Gets the Iduser property value
function getIduser() {
return $this->Iduser;
}
↩️ Returns
(mixed) The property value
🔧 setIduser
Sets the Iduser property value
function setIduser($value) {
// Basic property assignment
$this->Iduser = $value;
// Store the value for saving later
$this->datas["att8"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getCommentaire
Gets the Commentaire property value
function getCommentaire() {
return $this->Commentaire;
}
↩️ Returns
(mixed) The property value
🔧 setCommentaire
Sets the Commentaire property value
function setCommentaire($value) {
// Basic property assignment
$this->Commentaire = $value;
// Store the value for saving later
$this->datas["att91"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getTotalht
Gets the Totalht property value
function getTotalht() {
return $this->Totalht;
}
↩️ Returns
(mixed) The property value
🔧 setTotalht
Sets the Totalht property value
function setTotalht($value) {
// Basic property assignment
$this->Totalht = $value;
// Store the value for saving later
$this->datas["att9"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getTotalTVA
Gets the TotalTVA property value
function getTotalTVA() {
return $this->TotalTVA;
}
↩️ Returns
(mixed) The property value
🔧 setTotalTVA
Sets the TotalTVA property value
function setTotalTVA($value) {
// Basic property assignment
$this->TotalTVA = $value;
// Store the value for saving later
$this->datas["att10"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getTotalttc
Gets the Totalttc property value
function getTotalttc() {
return $this->Totalttc;
}
↩️ Returns
(mixed) The property value
🔧 setTotalttc
Sets the Totalttc property value
function setTotalttc($value) {
// Basic property assignment
$this->Totalttc = $value;
// Store the value for saving later
$this->datas["att11"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getDelaiReglement
Gets the DelaiReglement property value
function getDelaiReglement() {
return $this->DelaiReglement;
}
↩️ Returns
(mixed) The property value
🔧 setDelaiReglement
Sets the DelaiReglement property value
function setDelaiReglement($value) {
// Basic property assignment
$this->DelaiReglement = $value;
// Store the value for saving later
$this->datas["att12"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getModeReglement
Gets the ModeReglement property value
function getModeReglement() {
return $this->ModeReglement;
}
↩️ Returns
(mixed) The property value
🔧 setModeReglement
Sets the ModeReglement property value
function setModeReglement($value) {
// Basic property assignment
$this->ModeReglement = $value;
// Store the value for saving later
$this->datas["att13"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getDevis
Gets the Devis property value
function getDevis() {
return $this->Devis;
}
↩️ Returns
(mixed) The property value
🔧 setDevis
Sets the Devis property value
function setDevis($value) {
// Basic property assignment
$this->Devis = $value;
// Store the value for saving later
$this->datas["att14"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAdresseSiege
Gets the AdresseSiege property value
function getAdresseSiege() {
return $this->AdresseSiege;
}
↩️ Returns
(mixed) The property value
🔧 setAdresseSiege
Sets the AdresseSiege property value
function setAdresseSiege($value) {
// Basic property assignment
$this->AdresseSiege = $value;
// Store the value for saving later
$this->datas["att15"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getLieuIntervention
Gets the LieuIntervention property value
function getLieuIntervention() {
return $this->LieuIntervention;
}
↩️ Returns
(mixed) The property value
🔧 setLieuIntervention
Sets the LieuIntervention property value
function setLieuIntervention($value) {
// Basic property assignment
$this->LieuIntervention = $value;
// Store the value for saving later
$this->datas["att16"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAdresseFacturation
Gets the AdresseFacturation property value
function getAdresseFacturation() {
return $this->AdresseFacturation;
}
↩️ Returns
(mixed) The property value
🔧 setAdresseFacturation
Sets the AdresseFacturation property value
function setAdresseFacturation($value) {
// Basic property assignment
$this->AdresseFacturation = $value;
// Store the value for saving later
$this->datas["att17"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getRemiseTTC
Gets the RemiseTTC property value
function getRemiseTTC() {
return $this->RemiseTTC;
}
↩️ Returns
(mixed) The property value
🔧 setRemiseTTC
Sets the RemiseTTC property value
function setRemiseTTC($value) {
// Basic property assignment
$this->RemiseTTC = $value;
// Store the value for saving later
$this->datas["att18"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getTotalTVARemise
Gets the TotalTVARemise property value
function getTotalTVARemise() {
return $this->TotalTVARemise;
}
↩️ Returns
(mixed) The property value
🔧 setTotalTVARemise
Sets the TotalTVARemise property value
function setTotalTVARemise($value) {
// Basic property assignment
$this->TotalTVARemise = $value;
// Store the value for saving later
$this->datas["att31"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getRemiseHT
Gets the RemiseHT property value
function getRemiseHT() {
return $this->RemiseHT;
}
↩️ Returns
(mixed) The property value
🔧 setRemiseHT
Sets the RemiseHT property value
function setRemiseHT($value) {
// Basic property assignment
$this->RemiseHT = $value;
// Store the value for saving later
$this->datas["att30"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getTotalRemiseHT
Gets the TotalRemiseHT property value
function getTotalRemiseHT() {
return $this->TotalRemiseHT;
}
↩️ Returns
(mixed) The property value
🔧 setTotalRemiseHT
Sets the TotalRemiseHT property value
function setTotalRemiseHT($value) {
// Basic property assignment
$this->TotalRemiseHT = $value;
// Store the value for saving later
$this->datas["att29"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getTotalttcremise
Gets the Totalttcremise property value
function getTotalttcremise() {
return $this->Totalttcremise;
}
↩️ Returns
(mixed) The property value
🔧 setTotalttcremise
Sets the Totalttcremise property value
function setTotalttcremise($value) {
// Basic property assignment
$this->Totalttcremise = $value;
// Store the value for saving later
$this->datas["att24"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAdresse
Gets the Adresse property value
function getAdresse() {
return $this->Adresse;
}
↩️ Returns
(mixed) The property value
🔧 setAdresse
Sets the Adresse property value
function setAdresse($value) {
// Basic property assignment
$this->Adresse = $value;
// Store the value for saving later
$this->datas["att25"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getComplementDadresse
Gets the ComplementDadresse property value
function getComplementDadresse() {
return $this->ComplementDadresse;
}
↩️ Returns
(mixed) The property value
🔧 setComplementDadresse
Sets the ComplementDadresse property value
function setComplementDadresse($value) {
// Basic property assignment
$this->ComplementDadresse = $value;
// Store the value for saving later
$this->datas["att26"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getCodePostal
Gets the CodePostal property value
function getCodePostal() {
return $this->CodePostal;
}
↩️ Returns
(mixed) The property value
🔧 setCodePostal
Sets the CodePostal property value
function setCodePostal($value) {
// Basic property assignment
$this->CodePostal = $value;
// Store the value for saving later
$this->datas["att27"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getVille
Gets the Ville property value
function getVille() {
return $this->Ville;
}
↩️ Returns
(mixed) The property value
🔧 setVille
Sets the Ville property value
function setVille($value) {
// Basic property assignment
$this->Ville = $value;
// Store the value for saving later
$this->datas["att28"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getEtudeBureauEtude
Gets the EtudeBureauEtude property value
function getEtudeBureauEtude() {
return $this->EtudeBureauEtude;
}
↩️ Returns
(mixed) The property value
🔧 setEtudeBureauEtude
Sets the EtudeBureauEtude property value
function setEtudeBureauEtude($value) {
// Basic property assignment
$this->EtudeBureauEtude = $value;
// Store the value for saving later
$this->datas["att19"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAccordDuSPANC
Gets the AccordDuSPANC property value
function getAccordDuSPANC() {
return $this->AccordDuSPANC;
}
↩️ Returns
(mixed) The property value
🔧 setAccordDuSPANC
Sets the AccordDuSPANC property value
function setAccordDuSPANC($value) {
// Basic property assignment
$this->AccordDuSPANC = $value;
// Store the value for saving later
$this->datas["att20"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getCommunauteDeCommune
Gets the CommunauteDeCommune property value
function getCommunauteDeCommune() {
return $this->CommunauteDeCommune;
}
↩️ Returns
(mixed) The property value
🔧 setCommunauteDeCommune
Sets the CommunauteDeCommune property value
function setCommunauteDeCommune($value) {
// Basic property assignment
$this->CommunauteDeCommune = $value;
// Store the value for saving later
$this->datas["att21"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getMntFacturation
Gets the MntFacturation property value
function getMntFacturation() {
return $this->MntFacturation;
}
↩️ Returns
(mixed) The property value
🔧 setMntFacturation
Sets the MntFacturation property value
function setMntFacturation($value) {
// Basic property assignment
$this->MntFacturation = $value;
// Store the value for saving later
$this->datas["att22"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getTypePartiel
Gets the TypePartiel property value
function getTypePartiel() {
return $this->TypePartiel;
}
↩️ Returns
(mixed) The property value
🔧 setTypePartiel
Sets the TypePartiel property value
function setTypePartiel($value) {
// Basic property assignment
$this->TypePartiel = $value;
// Store the value for saving later
$this->datas["att23"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getBaseCalcul
Gets the BaseCalcul property value
function getBaseCalcul() {
return $this->BaseCalcul;
}
↩️ Returns
(mixed) The property value
🔧 setBaseCalcul
Sets the BaseCalcul property value
function setBaseCalcul($value) {
// Basic property assignment
$this->BaseCalcul = $value;
// Store the value for saving later
$this->datas["att32"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getEmailclient
Gets the Emailclient property value
function getEmailclient() {
return $this->Emailclient;
}
↩️ Returns
(mixed) The property value
🔧 setEmailclient
Sets the Emailclient property value
function setEmailclient($value) {
// Basic property assignment
$this->Emailclient = $value;
// Store the value for saving later
$this->datas["att33"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAdressevendeur
Gets the Adressevendeur property value
function getAdressevendeur() {
return $this->Adressevendeur;
}
↩️ Returns
(mixed) The property value
🔧 setAdressevendeur
Sets the Adressevendeur property value
function setAdressevendeur($value) {
// Basic property assignment
$this->Adressevendeur = $value;
// Store the value for saving later
$this->datas["att34"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getPieddepage
Gets the Pieddepage property value
function getPieddepage() {
return $this->Pieddepage;
}
↩️ Returns
(mixed) The property value
🔧 setPieddepage
Sets the Pieddepage property value
function setPieddepage($value) {
// Basic property assignment
$this->Pieddepage = $value;
// Store the value for saving later
$this->datas["att35"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAvancementfacturation
Gets the Avancementfacturation property value
function getAvancementfacturation() {
return $this->Avancementfacturation;
}
↩️ Returns
(mixed) The property value
🔧 setAvancementfacturation
Sets the Avancementfacturation property value
function setAvancementfacturation($value) {
// Basic property assignment
$this->Avancementfacturation = $value;
// Store the value for saving later
$this->datas["att36"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getCalendarevent
Gets the Calendarevent property value
function getCalendarevent() {
return $this->Calendarevent;
}
↩️ Returns
(mixed) The property value
🔧 setCalendarevent
Sets the Calendarevent property value
function setCalendarevent($value) {
// Basic property assignment
$this->Calendarevent = $value;
// Store the value for saving later
$this->datas["att40"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getDuration
Gets the Duration property value
function getDuration() {
return $this->Duration;
}
↩️ Returns
(mixed) The property value
🔧 setDuration
Sets the Duration property value
function setDuration($value) {
// Basic property assignment
$this->Duration = $value;
// Store the value for saving later
$this->datas["att37"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getNbcontributor
Gets the Nbcontributor property value
function getNbcontributor() {
return $this->Nbcontributor;
}
↩️ Returns
(mixed) The property value
🔧 setNbcontributor
Sets the Nbcontributor property value
function setNbcontributor($value) {
// Basic property assignment
$this->Nbcontributor = $value;
// Store the value for saving later
$this->datas["att38"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getDateintervention
Gets the Dateintervention property value
function getDateintervention() {
return $this->Dateintervention;
}
↩️ Returns
(mixed) The property value
🔧 setDateintervention
Sets the Dateintervention property value
function setDateintervention($value) {
// Basic property assignment
$this->Dateintervention = $value;
// Store the value for saving later
$this->datas["att39"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAttributeactif
Gets the Attributeactif property value
function getAttributeactif() {
return $this->Attributeactif;
}
↩️ Returns
(mixed) The property value
🔧 setAttributeactif
Sets the Attributeactif property value
function setAttributeactif($value) {
// Basic property assignment
$this->Attributeactif = $value;
// Store the value for saving later
$this->datas["actif"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAttributeidtype
Gets the Attributeidtype property value
function getAttributeidtype() {
return $this->Attributeidtype;
}
↩️ Returns
(mixed) The property value
🔧 setAttributeidtype
Sets the Attributeidtype property value
function setAttributeidtype($value) {
// Basic property assignment
$this->Attributeidtype = $value;
// Store the value for saving later
$this->datas["id_type"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getStatut
Gets the Statut property value
function getStatut() {
return $this->Statut;
}
↩️ Returns
(mixed) The property value
🔧 setStatut
Sets the Statut property value
function setStatut($value) {
try {
// For workflow fields, we store both the ID and the name
$this->originalStatut = $value;
if (!empty($value) && function_exists("fwc7_param_objet_workflow")) {
$workflow_data = fwc7_param_objet_workflow("", $this->get_id_type(), $value);
if (!empty($workflow_data) && isset($workflow_data["nom"])) {
$this->Statut = $workflow_data["nom"];
} else {
$this->Statut = $value;
}
// ... (truncated)
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAttributeattdatcre
Gets the Attributeattdatcre property value
function getAttributeattdatcre() {
return $this->Attributeattdatcre;
}
↩️ Returns
(mixed) The property value
🔧 setAttributeattdatcre
Sets the Attributeattdatcre property value
function setAttributeattdatcre($value) {
// Basic property assignment
$this->Attributeattdatcre = $value;
// Store the value for saving later
$this->datas["attdatcre"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAttributeattdatmod
Gets the Attributeattdatmod property value
function getAttributeattdatmod() {
return $this->Attributeattdatmod;
}
↩️ Returns
(mixed) The property value
🔧 setAttributeattdatmod
Sets the Attributeattdatmod property value
function setAttributeattdatmod($value) {
// Basic property assignment
$this->Attributeattdatmod = $value;
// Store the value for saving later
$this->datas["attdatmod"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAttributeattusermod
Gets the Attributeattusermod property value
function getAttributeattusermod() {
return $this->Attributeattusermod;
}
↩️ Returns
(mixed) The property value
🔧 setAttributeattusermod
Sets the Attributeattusermod property value
function setAttributeattusermod($value) {
// Basic property assignment
$this->Attributeattusermod = $value;
// Store the value for saving later
$this->datas["attusermod"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAttributenewobj
Gets the Attributenewobj property value
function getAttributenewobj() {
return $this->Attributenewobj;
}
↩️ Returns
(mixed) The property value
🔧 setAttributenewobj
Sets the Attributenewobj property value
function setAttributenewobj($value) {
// Basic property assignment
$this->Attributenewobj = $value;
// Store the value for saving later
$this->datas["newobj"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getAttributeidvent
Gets the Attributeidvent property value
function getAttributeidvent() {
return $this->Attributeidvent;
}
↩️ Returns
(mixed) The property value
🔧 setAttributeidvent
Sets the Attributeidvent property value
function setAttributeidvent($value) {
// Basic property assignment
$this->Attributeidvent = $value;
// Store the value for saving later
$this->datas["id_vent"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 getIdobjet
Gets the Idobjet property value
function getIdobjet() {
return $this->IdObjet;
}
↩️ Returns
(mixed) The property value
🔧 setIdobjet
Sets the Idobjet property value
function setIdobjet($value) {
// Basic property assignment
$this->IdObjet = $value;
// Store the value for saving later
$this->datas["id_obje"] = $value;
return $this;
}
⚙️ Parameters
$value(mixed) The new property value
↩️ Returns
($this) for method chaining
🔧 validate
Validates that all required properties have values
function validate() {
$errors = [];
// Validation logic can be added here
// Example: check that required fields have values
if (empty($errors)) {
return true;
}
return $errors;
}
↩️ Returns
(bool|array) True if valid, array of error messages if invalid
🔧 getCalendarEventData
Gets calendar event data formatted for CalDAV integration
function getCalendarEventData() {
try {
// Get client information
$clientId = $this->getNomduclient();
if (empty($clientId)) {
$clientId = 0;
}
$client = new Client($clientId);
// Provide fallbacks for missing client information
$clientNom = $client->getNom() ?: 'Nom non spécifié';
$clientPrenom = $client->getPrenom() ?: 'Prénom non spécifié';
$clientMail = $client->getMail() ?: 'Email non spécifié';
// ... (truncated)
↩️ Returns
(array|null) The event data with title, description, times, location and additional properties