/** * Resets all references to other model objects or collections of model objects. * * This method is a user-space workaround for PHP's inability to garbage collect * objects with circular references (even in PHP 5.3). This is currently necessary * when using Propel in certain daemon or large-volume/high-memory operations. * * @param boolean $deep Whether to also clear the references on all referrer objects. */ public function clearAllReferences($deep = false) { if ($deep && !$this->alreadyInClearAllReferencesDeep) { $this->alreadyInClearAllReferencesDeep = true; if ($this->collSubscriberGroupMemberships) { foreach ($this->collSubscriberGroupMemberships as $o) { $o->clearAllReferences($deep); } } if ($this->aUserRelatedByCreatedBy instanceof Persistent) { $this->aUserRelatedByCreatedBy->clearAllReferences($deep); } if ($this->aUserRelatedByUpdatedBy instanceof Persistent) { $this->aUserRelatedByUpdatedBy->clearAllReferences($deep); } $this->alreadyInClearAllReferencesDeep = false; } // if ($deep) if ($this->collSubscriberGroupMemberships instanceof PropelCollection) { $this->collSubscriberGroupMemberships->clearIterator(); } $this->collSubscriberGroupMemberships = null; $this->aUserRelatedByCreatedBy = null; $this->aUserRelatedByUpdatedBy = null; }
/** * Resets all references to other model objects or collections of model objects. * * This method is a user-space workaround for PHP's inability to garbage collect * objects with circular references (even in PHP 5.3). This is currently necessary * when using Propel in certain daemon or large-volumne/high-memory operations. * * @param boolean $deep Whether to also clear the references on all referrer objects. */ public function clearAllReferences($deep = false) { if ($deep && !$this->alreadyInClearAllReferencesDeep) { $this->alreadyInClearAllReferencesDeep = true; if ($this->collBookings) { foreach ($this->collBookings as $o) { $o->clearAllReferences($deep); } } if ($this->collTransactionClockings) { foreach ($this->collTransactionClockings as $o) { $o->clearAllReferences($deep); } } if ($this->aUserRelatedByCreatorId instanceof Persistent) { $this->aUserRelatedByCreatorId->clearAllReferences($deep); } if ($this->aUserRelatedByUserId instanceof Persistent) { $this->aUserRelatedByUserId->clearAllReferences($deep); } $this->alreadyInClearAllReferencesDeep = false; } // if ($deep) if ($this->collBookings instanceof PropelCollection) { $this->collBookings->clearIterator(); } $this->collBookings = null; if ($this->collTransactionClockings instanceof PropelCollection) { $this->collTransactionClockings->clearIterator(); } $this->collTransactionClockings = null; $this->aUserRelatedByCreatorId = null; $this->aUserRelatedByUserId = null; }
/** * Resets all references to other model objects or collections of model objects. * * This method is a user-space workaround for PHP's inability to garbage collect * objects with circular references (even in PHP 5.3). This is currently necessary * when using Propel in certain daemon or large-volume/high-memory operations. * * @param boolean $deep Whether to also clear the references on all referrer objects. */ public function clearAllReferences($deep = false) { if ($deep && !$this->alreadyInClearAllReferencesDeep) { $this->alreadyInClearAllReferencesDeep = true; if ($this->aUser instanceof Persistent) { $this->aUser->clearAllReferences($deep); } $this->alreadyInClearAllReferencesDeep = false; } // if ($deep) $this->aUser = null; }
/** * Resets all references to other model objects or collections of model objects. * * This method is a user-space workaround for PHP's inability to garbage collect * objects with circular references (even in PHP 5.3). This is currently necessary * when using Propel in certain daemon or large-volume/high-memory operations. * * @param boolean $deep Whether to also clear the references on all referrer objects. */ public function clearAllReferences($deep = false) { if ($deep && !$this->alreadyInClearAllReferencesDeep) { $this->alreadyInClearAllReferencesDeep = true; if ($this->aUserRelatedByCreatedBy instanceof Persistent) { $this->aUserRelatedByCreatedBy->clearAllReferences($deep); } if ($this->aUserRelatedByUpdatedBy instanceof Persistent) { $this->aUserRelatedByUpdatedBy->clearAllReferences($deep); } $this->alreadyInClearAllReferencesDeep = false; } // if ($deep) $this->aUserRelatedByCreatedBy = null; $this->aUserRelatedByUpdatedBy = null; }
/** * Resets all references to other model objects or collections of model objects. * * This method is a user-space workaround for PHP's inability to garbage collect * objects with circular references (even in PHP 5.3). This is currently necessary * when using Propel in certain daemon or large-volume/high-memory operations. * * @param boolean $deep Whether to also clear the references on all referrer objects. */ public function clearAllReferences($deep = false) { if ($deep && !$this->alreadyInClearAllReferencesDeep) { $this->alreadyInClearAllReferencesDeep = true; if ($this->collGroupRoles) { foreach ($this->collGroupRoles as $o) { $o->clearAllReferences($deep); } } if ($this->collUserRoles) { foreach ($this->collUserRoles as $o) { $o->clearAllReferences($deep); } } if ($this->collRights) { foreach ($this->collRights as $o) { $o->clearAllReferences($deep); } } if ($this->aUserRelatedByCreatedBy instanceof Persistent) { $this->aUserRelatedByCreatedBy->clearAllReferences($deep); } if ($this->aUserRelatedByUpdatedBy instanceof Persistent) { $this->aUserRelatedByUpdatedBy->clearAllReferences($deep); } $this->alreadyInClearAllReferencesDeep = false; } // if ($deep) if ($this->collGroupRoles instanceof PropelCollection) { $this->collGroupRoles->clearIterator(); } $this->collGroupRoles = null; if ($this->collUserRoles instanceof PropelCollection) { $this->collUserRoles->clearIterator(); } $this->collUserRoles = null; if ($this->collRights instanceof PropelCollection) { $this->collRights->clearIterator(); } $this->collRights = null; $this->aUserRelatedByCreatedBy = null; $this->aUserRelatedByUpdatedBy = null; }
/** * Resets all references to other model objects or collections of model objects. * * This method is a user-space workaround for PHP's inability to garbage collect * objects with circular references (even in PHP 5.3). This is currently necessary * when using Propel in certain daemon or large-volume/high-memory operations. * * @param boolean $deep Whether to also clear the references on all referrer objects. */ public function clearAllReferences($deep = false) { if ($deep && !$this->alreadyInClearAllReferencesDeep) { $this->alreadyInClearAllReferencesDeep = true; if ($this->collNewsletterMailings) { foreach ($this->collNewsletterMailings as $o) { $o->clearAllReferences($deep); } } if ($this->aUserRelatedByCreatedBy instanceof Persistent) { $this->aUserRelatedByCreatedBy->clearAllReferences($deep); } if ($this->aUserRelatedByUpdatedBy instanceof Persistent) { $this->aUserRelatedByUpdatedBy->clearAllReferences($deep); } $this->alreadyInClearAllReferencesDeep = false; } // if ($deep) if ($this->collNewsletterMailings instanceof PropelCollection) { $this->collNewsletterMailings->clearIterator(); } $this->collNewsletterMailings = null; $this->aUserRelatedByCreatedBy = null; $this->aUserRelatedByUpdatedBy = null; }
/** * Resets all references to other model objects or collections of model objects. * * This method is a user-space workaround for PHP's inability to garbage collect * objects with circular references (even in PHP 5.3). This is currently necessary * when using Propel in certain daemon or large-volumne/high-memory operations. * * @param boolean $deep Whether to also clear the references on all referrer objects. */ public function clearAllReferences($deep = false) { if ($deep && !$this->alreadyInClearAllReferencesDeep) { $this->alreadyInClearAllReferencesDeep = true; if ($this->collChartsRelatedById) { foreach ($this->collChartsRelatedById as $o) { $o->clearAllReferences($deep); } } if ($this->collJobs) { foreach ($this->collJobs as $o) { $o->clearAllReferences($deep); } } if ($this->aUser instanceof Persistent) { $this->aUser->clearAllReferences($deep); } if ($this->aOrganization instanceof Persistent) { $this->aOrganization->clearAllReferences($deep); } if ($this->aChartRelatedByForkedFrom instanceof Persistent) { $this->aChartRelatedByForkedFrom->clearAllReferences($deep); } $this->alreadyInClearAllReferencesDeep = false; } // if ($deep) if ($this->collChartsRelatedById instanceof PropelCollection) { $this->collChartsRelatedById->clearIterator(); } $this->collChartsRelatedById = null; if ($this->collJobs instanceof PropelCollection) { $this->collJobs->clearIterator(); } $this->collJobs = null; $this->aUser = null; $this->aOrganization = null; $this->aChartRelatedByForkedFrom = null; }
/** * Resets all references to other model objects or collections of model objects. * * This method is a user-space workaround for PHP's inability to garbage collect * objects with circular references (even in PHP 5.3). This is currently necessary * when using Propel in certain daemon or large-volume/high-memory operations. * * @param boolean $deep Whether to also clear the references on all referrer objects. */ public function clearAllReferences($deep = false) { if ($deep && !$this->alreadyInClearAllReferencesDeep) { $this->alreadyInClearAllReferencesDeep = true; if ($this->collPagesRelatedById) { foreach ($this->collPagesRelatedById as $o) { $o->clearAllReferences($deep); } } if ($this->collPagePropertys) { foreach ($this->collPagePropertys as $o) { $o->clearAllReferences($deep); } } if ($this->collPageStrings) { foreach ($this->collPageStrings as $o) { $o->clearAllReferences($deep); } } if ($this->collContentObjects) { foreach ($this->collContentObjects as $o) { $o->clearAllReferences($deep); } } if ($this->collRights) { foreach ($this->collRights as $o) { $o->clearAllReferences($deep); } } if ($this->aPageRelatedByCanonicalId instanceof Persistent) { $this->aPageRelatedByCanonicalId->clearAllReferences($deep); } if ($this->aUserRelatedByCreatedBy instanceof Persistent) { $this->aUserRelatedByCreatedBy->clearAllReferences($deep); } if ($this->aUserRelatedByUpdatedBy instanceof Persistent) { $this->aUserRelatedByUpdatedBy->clearAllReferences($deep); } $this->alreadyInClearAllReferencesDeep = false; } // if ($deep) // nested_set behavior $this->collNestedSetChildren = null; $this->aNestedSetParent = null; if ($this->collPagesRelatedById instanceof PropelCollection) { $this->collPagesRelatedById->clearIterator(); } $this->collPagesRelatedById = null; if ($this->collPagePropertys instanceof PropelCollection) { $this->collPagePropertys->clearIterator(); } $this->collPagePropertys = null; if ($this->collPageStrings instanceof PropelCollection) { $this->collPageStrings->clearIterator(); } $this->collPageStrings = null; if ($this->collContentObjects instanceof PropelCollection) { $this->collContentObjects->clearIterator(); } $this->collContentObjects = null; if ($this->collRights instanceof PropelCollection) { $this->collRights->clearIterator(); } $this->collRights = null; $this->aPageRelatedByCanonicalId = null; $this->aUserRelatedByCreatedBy = null; $this->aUserRelatedByUpdatedBy = null; }
/** * Resets all references to other model objects or collections of model objects. * * This method is a user-space workaround for PHP's inability to garbage collect * objects with circular references (even in PHP 5.3). This is currently necessary * when using Propel in certain daemon or large-volume/high-memory operations. * * @param boolean $deep Whether to also clear the references on all referrer objects. */ public function clearAllReferences($deep = false) { if ($deep && !$this->alreadyInClearAllReferencesDeep) { $this->alreadyInClearAllReferencesDeep = true; if ($this->collDocumentationParts) { foreach ($this->collDocumentationParts as $o) { $o->clearAllReferences($deep); } } if ($this->aLanguage instanceof Persistent) { $this->aLanguage->clearAllReferences($deep); } if ($this->aUserRelatedByCreatedBy instanceof Persistent) { $this->aUserRelatedByCreatedBy->clearAllReferences($deep); } if ($this->aUserRelatedByUpdatedBy instanceof Persistent) { $this->aUserRelatedByUpdatedBy->clearAllReferences($deep); } $this->alreadyInClearAllReferencesDeep = false; } // if ($deep) if ($this->collDocumentationParts instanceof PropelCollection) { $this->collDocumentationParts->clearIterator(); } $this->collDocumentationParts = null; $this->aLanguage = null; $this->aUserRelatedByCreatedBy = null; $this->aUserRelatedByUpdatedBy = null; }
/** * Resets all references to other model objects or collections of model objects. * * This method is a user-space workaround for PHP's inability to garbage collect * objects with circular references (even in PHP 5.3). This is currently necessary * when using Propel in certain daemon or large-volume/high-memory operations. * * @param boolean $deep Whether to also clear the references on all referrer objects. */ public function clearAllReferences($deep = false) { if ($deep && !$this->alreadyInClearAllReferencesDeep) { $this->alreadyInClearAllReferencesDeep = true; if ($this->aLanguage instanceof Persistent) { $this->aLanguage->clearAllReferences($deep); } if ($this->aUserRelatedByOwnerId instanceof Persistent) { $this->aUserRelatedByOwnerId->clearAllReferences($deep); } if ($this->aLinkCategory instanceof Persistent) { $this->aLinkCategory->clearAllReferences($deep); } if ($this->aUserRelatedByCreatedBy instanceof Persistent) { $this->aUserRelatedByCreatedBy->clearAllReferences($deep); } if ($this->aUserRelatedByUpdatedBy instanceof Persistent) { $this->aUserRelatedByUpdatedBy->clearAllReferences($deep); } $this->alreadyInClearAllReferencesDeep = false; } // if ($deep) $this->aLanguage = null; $this->aUserRelatedByOwnerId = null; $this->aLinkCategory = null; $this->aUserRelatedByCreatedBy = null; $this->aUserRelatedByUpdatedBy = null; }
/** * Resets all references to other model objects or collections of model objects. * * This method is a user-space workaround for PHP's inability to garbage collect * objects with circular references (even in PHP 5.3). This is currently necessary * when using Propel in certain daemon or large-volume/high-memory operations. * * @param boolean $deep Whether to also clear the references on all referrer objects. */ public function clearAllReferences($deep = false) { if ($deep && !$this->alreadyInClearAllReferencesDeep) { $this->alreadyInClearAllReferencesDeep = true; if ($this->collPageStrings) { foreach ($this->collPageStrings as $o) { $o->clearAllReferences($deep); } } if ($this->collLanguageObjects) { foreach ($this->collLanguageObjects as $o) { $o->clearAllReferences($deep); } } if ($this->collLanguageObjectHistorys) { foreach ($this->collLanguageObjectHistorys as $o) { $o->clearAllReferences($deep); } } if ($this->collTranslations) { foreach ($this->collTranslations as $o) { $o->clearAllReferences($deep); } } if ($this->collUsersRelatedByLanguageId) { foreach ($this->collUsersRelatedByLanguageId as $o) { $o->clearAllReferences($deep); } } if ($this->collDocuments) { foreach ($this->collDocuments as $o) { $o->clearAllReferences($deep); } } if ($this->collLinks) { foreach ($this->collLinks as $o) { $o->clearAllReferences($deep); } } if ($this->aUserRelatedByCreatedBy instanceof Persistent) { $this->aUserRelatedByCreatedBy->clearAllReferences($deep); } if ($this->aUserRelatedByUpdatedBy instanceof Persistent) { $this->aUserRelatedByUpdatedBy->clearAllReferences($deep); } $this->alreadyInClearAllReferencesDeep = false; } // if ($deep) if ($this->collPageStrings instanceof PropelCollection) { $this->collPageStrings->clearIterator(); } $this->collPageStrings = null; if ($this->collLanguageObjects instanceof PropelCollection) { $this->collLanguageObjects->clearIterator(); } $this->collLanguageObjects = null; if ($this->collLanguageObjectHistorys instanceof PropelCollection) { $this->collLanguageObjectHistorys->clearIterator(); } $this->collLanguageObjectHistorys = null; if ($this->collTranslations instanceof PropelCollection) { $this->collTranslations->clearIterator(); } $this->collTranslations = null; if ($this->collUsersRelatedByLanguageId instanceof PropelCollection) { $this->collUsersRelatedByLanguageId->clearIterator(); } $this->collUsersRelatedByLanguageId = null; if ($this->collDocuments instanceof PropelCollection) { $this->collDocuments->clearIterator(); } $this->collDocuments = null; if ($this->collLinks instanceof PropelCollection) { $this->collLinks->clearIterator(); } $this->collLinks = null; $this->aUserRelatedByCreatedBy = null; $this->aUserRelatedByUpdatedBy = null; }
/** * Resets all references to other model objects or collections of model objects. * * This method is a user-space workaround for PHP's inability to garbage collect * objects with circular references (even in PHP 5.3). This is currently necessary * when using Propel in certain daemon or large-volume/high-memory operations. * * @param boolean $deep Whether to also clear the references on all referrer objects. */ public function clearAllReferences($deep = false) { if ($deep && !$this->alreadyInClearAllReferencesDeep) { $this->alreadyInClearAllReferencesDeep = true; if ($this->collhelpHourSignins) { foreach ($this->collhelpHourSignins as $o) { $o->clearAllReferences($deep); } } if ($this->aUser instanceof Persistent) { $this->aUser->clearAllReferences($deep); } $this->alreadyInClearAllReferencesDeep = false; } // if ($deep) if ($this->collhelpHourSignins instanceof PropelCollection) { $this->collhelpHourSignins->clearIterator(); } $this->collhelpHourSignins = null; $this->aUser = null; }