/** * 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['JGroupesClasses'][serialize($this->getPrimaryKey())])) { return '*RECURSION*'; } $alreadyDumpedObjects['JGroupesClasses'][serialize($this->getPrimaryKey())] = true; $keys = JGroupesClassesPeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getIdGroupe(), $keys[1] => $this->getIdClasse(), $keys[2] => $this->getPriorite(), $keys[3] => $this->getCoef(), $keys[4] => $this->getCategorieId(), $keys[5] => $this->getSaisieEcts(), $keys[6] => $this->getValeurEcts(), ); if ($includeForeignObjects) { 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); } } 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['CahierTexteNoticePrivee'][$this->getPrimaryKey()])) { return '*RECURSION*'; } $alreadyDumpedObjects['CahierTexteNoticePrivee'][$this->getPrimaryKey()] = true; $keys = CahierTexteNoticePriveePeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getIdCt(), $keys[1] => $this->getHeureEntry(), $keys[2] => $this->getDateCt(), $keys[3] => $this->getContenu(), $keys[4] => $this->getIdGroupe(), $keys[5] => $this->getIdLogin(), $keys[6] => $this->getIdSequence(), ); if ($includeForeignObjects) { if (null !== $this->aGroupe) { $result['Groupe'] = $this->aGroupe->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aUtilisateurProfessionnel) { $result['UtilisateurProfessionnel'] = $this->aUtilisateurProfessionnel->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aCahierTexteSequence) { $result['CahierTexteSequence'] = $this->aCahierTexteSequence->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['JGroupesMatieres'][serialize($this->getPrimaryKey())])) { return '*RECURSION*'; } $alreadyDumpedObjects['JGroupesMatieres'][serialize($this->getPrimaryKey())] = true; $keys = JGroupesMatieresPeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getIdGroupe(), $keys[1] => $this->getIdMatiere(), ); if ($includeForeignObjects) { if (null !== $this->aGroupe) { $result['Groupe'] = $this->aGroupe->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aMatiere) { $result['Matiere'] = $this->aMatiere->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['EdtEmplacementCours'][$this->getPrimaryKey()])) { return '*RECURSION*'; } $alreadyDumpedObjects['EdtEmplacementCours'][$this->getPrimaryKey()] = true; $keys = EdtEmplacementCoursPeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getIdCours(), $keys[1] => $this->getIdGroupe(), $keys[2] => $this->getIdAid(), $keys[3] => $this->getIdSalle(), $keys[4] => $this->getJourSemaine(), $keys[5] => $this->getIdDefiniePeriode(), $keys[6] => $this->getDuree(), $keys[7] => $this->getHeuredebDec(), $keys[8] => $this->getTypeSemaine(), $keys[9] => $this->getIdCalendrier(), $keys[10] => $this->getModifEdt(), $keys[11] => $this->getLoginProf(), ); if ($includeForeignObjects) { if (null !== $this->aGroupe) { $result['Groupe'] = $this->aGroupe->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aAidDetails) { $result['AidDetails'] = $this->aAidDetails->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aEdtSalle) { $result['EdtSalle'] = $this->aEdtSalle->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aEdtCreneau) { $result['EdtCreneau'] = $this->aEdtCreneau->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aEdtCalendrierPeriode) { $result['EdtCalendrierPeriode'] = $this->aEdtCalendrierPeriode->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->aUtilisateurProfessionnel) { $result['UtilisateurProfessionnel'] = $this->aUtilisateurProfessionnel->toArray($keyType, $includeLazyLoadColumns, $alreadyDumpedObjects, true); } if (null !== $this->collAbsenceEleveSaisies) { $result['AbsenceEleveSaisies'] = $this->collAbsenceEleveSaisies->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['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; }