Ejemplo n.º 1
0
	/**
	 * Declares an association between this object and a AbsenceEleveSaisie object.
	 *
	 * @param      AbsenceEleveSaisie $v
	 * @return     AbsenceEleveSaisieVersion The current object (for fluent API support)
	 * @throws     PropelException
	 */
	public function setAbsenceEleveSaisie(AbsenceEleveSaisie $v = null)
	{
		if ($v === null) {
			$this->setId(NULL);
		} else {
			$this->setId($v->getId());
		}

		$this->aAbsenceEleveSaisie = $v;

		// Add binding for other direction of this n:n relationship.
		// If this object has already been added to the AbsenceEleveSaisie object, it will not be re-added.
		if ($v !== null) {
			$v->addAbsenceEleveSaisieVersion($this);
		}

		return $this;
	}