/** * Exports the object as an array. * * You can specify the key type of the array by passing one of the class * type constants. * * @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, * BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. * Defaults to BasePeer::TYPE_PHPNAME. * @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE. * @param array $alreadyDumpedObjects List of objects to skip to avoid recursion * @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE. * * @return array an associative array containing the field names (as keys) and field values */ public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true, $alreadyDumpedObjects = array(), $includeForeignObjects = false) { if (isset($alreadyDumpedObjects['CreditEcts'][serialize($this->getPrimaryKey())])) { return '*RECURSION*'; } $alreadyDumpedObjects['CreditEcts'][serialize($this->getPrimaryKey())] = true; $keys = CreditEctsPeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getId(), $keys[1] => $this->getIdEleve(), $keys[2] => $this->getNumPeriode(), $keys[3] => $this->getIdGroupe(), $keys[4] => $this->getValeur(), $keys[5] => $this->getMention(), $keys[6] => $this->getMentionProf(), ); if ($includeForeignObjects) { if (null !== $this->aEleve) { $result['Eleve'] = $this->aEleve->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aGroupe) { $result['Groupe'] = $this->aGroupe->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } } return $result; }
/** * Exports the object as an array. * * You can specify the key type of the array by passing one of the class * type constants. * * @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, * BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. * Defaults to BasePeer::TYPE_PHPNAME. * @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE. * @param array $alreadyDumpedObjects List of objects to skip to avoid recursion * @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE. * * @return array an associative array containing the field names (as keys) and field values */ public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true, $alreadyDumpedObjects = array(), $includeForeignObjects = false) { if (isset($alreadyDumpedObjects['EleveRegimeDoublant'][$this->getPrimaryKey()])) { return '*RECURSION*'; } $alreadyDumpedObjects['EleveRegimeDoublant'][$this->getPrimaryKey()] = true; $keys = EleveRegimeDoublantPeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getLogin(), $keys[1] => $this->getDoublant(), $keys[2] => $this->getRegime(), ); if ($includeForeignObjects) { if (null !== $this->aEleve) { $result['Eleve'] = $this->aEleve->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } } return $result; }
/** * Exports the object as an array. * * You can specify the key type of the array by passing one of the class * type constants. * * @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, * BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. * Defaults to BasePeer::TYPE_PHPNAME. * @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE. * @param array $alreadyDumpedObjects List of objects to skip to avoid recursion * @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE. * * @return array an associative array containing the field names (as keys) and field values */ public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true, $alreadyDumpedObjects = array(), $includeForeignObjects = false) { if (isset($alreadyDumpedObjects['JEleveCpe'][serialize($this->getPrimaryKey())])) { return '*RECURSION*'; } $alreadyDumpedObjects['JEleveCpe'][serialize($this->getPrimaryKey())] = true; $keys = JEleveCpePeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getELogin(), $keys[1] => $this->getCpeLogin(), ); if ($includeForeignObjects) { if (null !== $this->aEleve) { $result['Eleve'] = $this->aEleve->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aUtilisateurProfessionnel) { $result['UtilisateurProfessionnel'] = $this->aUtilisateurProfessionnel->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } } return $result; }
/** * Exports the object as an array. * * You can specify the key type of the array by passing one of the class * type constants. * * @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, * BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. * Defaults to BasePeer::TYPE_PHPNAME. * @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE. * @param array $alreadyDumpedObjects List of objects to skip to avoid recursion * @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE. * * @return array an associative array containing the field names (as keys) and field values */ public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true, $alreadyDumpedObjects = array(), $includeForeignObjects = false) { if (isset($alreadyDumpedObjects['JEleveAncienEtablissement'][serialize($this->getPrimaryKey())])) { return '*RECURSION*'; } $alreadyDumpedObjects['JEleveAncienEtablissement'][serialize($this->getPrimaryKey())] = true; $keys = JEleveAncienEtablissementPeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getIdEleve(), $keys[1] => $this->getIdEtablissement(), ); if ($includeForeignObjects) { if (null !== $this->aEleve) { $result['Eleve'] = $this->aEleve->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aAncienEtablissement) { $result['AncienEtablissement'] = $this->aAncienEtablissement->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } } return $result; }
/** * Exports the object as an array. * * You can specify the key type of the array by passing one of the class * type constants. * * @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, * BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. * Defaults to BasePeer::TYPE_PHPNAME. * @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE. * @param array $alreadyDumpedObjects List of objects to skip to avoid recursion * @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE. * * @return array an associative array containing the field names (as keys) and field values */ public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true, $alreadyDumpedObjects = array(), $includeForeignObjects = false) { if (isset($alreadyDumpedObjects['ResponsableInformation'][serialize($this->getPrimaryKey())])) { return '*RECURSION*'; } $alreadyDumpedObjects['ResponsableInformation'][serialize($this->getPrimaryKey())] = true; $keys = ResponsableInformationPeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getEleId(), $keys[1] => $this->getResponsableEleveId(), $keys[2] => $this->getNiveauResponsabilite(), $keys[3] => $this->getPersContact(), ); if ($includeForeignObjects) { if (null !== $this->aEleve) { $result['Eleve'] = $this->aEleve->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aResponsableEleve) { $result['ResponsableEleve'] = $this->aResponsableEleve->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } } return $result; }
/** * Exports the object as an array. * * You can specify the key type of the array by passing one of the class * type constants. * * @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, * BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. * Defaults to BasePeer::TYPE_PHPNAME. * @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE. * @param array $alreadyDumpedObjects List of objects to skip to avoid recursion * @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE. * * @return array an associative array containing the field names (as keys) and field values */ public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true, $alreadyDumpedObjects = array(), $includeForeignObjects = false) { if (isset($alreadyDumpedObjects['AbsenceEleveSaisie'][$this->getPrimaryKey()])) { return '*RECURSION*'; } $alreadyDumpedObjects['AbsenceEleveSaisie'][$this->getPrimaryKey()] = true; $keys = AbsenceEleveSaisiePeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getId(), $keys[1] => $this->getUtilisateurId(), $keys[2] => $this->getEleveId(), $keys[3] => $this->getCommentaire(), $keys[4] => $this->getDebutAbs(), $keys[5] => $this->getFinAbs(), $keys[6] => $this->getIdEdtCreneau(), $keys[7] => $this->getIdEdtEmplacementCours(), $keys[8] => $this->getIdGroupe(), $keys[9] => $this->getIdClasse(), $keys[10] => $this->getIdAid(), $keys[11] => $this->getIdSIncidents(), $keys[12] => $this->getIdLieu(), $keys[13] => $this->getDeletedBy(), $keys[14] => $this->getCreatedAt(), $keys[15] => $this->getUpdatedAt(), $keys[16] => $this->getDeletedAt(), $keys[17] => $this->getVersion(), $keys[18] => $this->getVersionCreatedAt(), $keys[19] => $this->getVersionCreatedBy(), ); if ($includeForeignObjects) { if (null !== $this->aUtilisateurProfessionnel) { $result['UtilisateurProfessionnel'] = $this->aUtilisateurProfessionnel->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aEleve) { $result['Eleve'] = $this->aEleve->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aEdtCreneau) { $result['EdtCreneau'] = $this->aEdtCreneau->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aEdtEmplacementCours) { $result['EdtEmplacementCours'] = $this->aEdtEmplacementCours->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aGroupe) { $result['Groupe'] = $this->aGroupe->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aClasse) { $result['Classe'] = $this->aClasse->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aAidDetails) { $result['AidDetails'] = $this->aAidDetails->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aAbsenceEleveLieu) { $result['AbsenceEleveLieu'] = $this->aAbsenceEleveLieu->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->collJTraitementSaisieEleves) { $result['JTraitementSaisieEleves'] = $this->collJTraitementSaisieEleves->toArray(null, true, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects); } if (null !== $this->collAbsenceEleveSaisieVersions) { $result['AbsenceEleveSaisieVersions'] = $this->collAbsenceEleveSaisieVersions->toArray(null, true, $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects); } } return $result; }
/** * Exports the object as an array. * * You can specify the key type of the array by passing one of the class * type constants. * * @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, * BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. * Defaults to BasePeer::TYPE_PHPNAME. * @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE. * @param array $alreadyDumpedObjects List of objects to skip to avoid recursion * @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE. * * @return array an associative array containing the field names (as keys) and field values */ public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true, $alreadyDumpedObjects = array(), $includeForeignObjects = false) { if (isset($alreadyDumpedObjects['ArchiveEcts'][serialize($this->getPrimaryKey())])) { return '*RECURSION*'; } $alreadyDumpedObjects['ArchiveEcts'][serialize($this->getPrimaryKey())] = true; $keys = ArchiveEctsPeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getId(), $keys[1] => $this->getAnnee(), $keys[2] => $this->getIne(), $keys[3] => $this->getClasse(), $keys[4] => $this->getNumPeriode(), $keys[5] => $this->getNomPeriode(), $keys[6] => $this->getSpecial(), $keys[7] => $this->getMatiere(), $keys[8] => $this->getProfs(), $keys[9] => $this->getValeur(), $keys[10] => $this->getMention(), ); if ($includeForeignObjects) { if (null !== $this->aEleve) { $result['Eleve'] = $this->aEleve->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } } return $result; }
/** * Exports the object as an array. * * You can specify the key type of the array by passing one of the class * type constants. * * @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, * BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. * Defaults to BasePeer::TYPE_PHPNAME. * @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE. * @param array $alreadyDumpedObjects List of objects to skip to avoid recursion * @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE. * * @return array an associative array containing the field names (as keys) and field values */ public function toArray($keyType = BasePeer::TYPE_PHPNAME, $includeLazyLoadColumns = true, $alreadyDumpedObjects = array(), $includeForeignObjects = false) { if (isset($alreadyDumpedObjects['AbsenceAgregationDecompte'][serialize($this->getPrimaryKey())])) { return '*RECURSION*'; } $alreadyDumpedObjects['AbsenceAgregationDecompte'][serialize($this->getPrimaryKey())] = true; $keys = AbsenceAgregationDecomptePeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getEleveId(), $keys[1] => $this->getDateDemiJounee(), $keys[2] => $this->getManquementObligationPresence(), $keys[3] => $this->getNonJustifiee(), $keys[4] => $this->getNotifiee(), $keys[5] => $this->getRetards(), $keys[6] => $this->getRetardsNonJustifies(), $keys[7] => $this->getMotifsAbsences(), $keys[8] => $this->getMotifsRetards(), $keys[9] => $this->getCreatedAt(), $keys[10] => $this->getUpdatedAt(), ); if ($includeForeignObjects) { if (null !== $this->aEleve) { $result['Eleve'] = $this->aEleve->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } } return $result; }