/** * Get the associated Collection object * * @param PropelPDO Optional Connection object. * @return Collection The associated Collection object. * @throws PropelException */ public function getCollection(PropelPDO $con = null) { if ($this->aCollection === null && $this->collection_id !== null) { $this->aCollection = CollectionPeer::retrieveByPk($this->collection_id); /* The following can be used additionally to guarantee the related object contains a reference to this object. This level of coupling may, however, be undesirable since it could result in an only partially populated collection in the referenced object. $this->aCollection->addCollectionFiles($this); */ } return $this->aCollection; }