/** * Initializes the collПредписанияs collection. * * By default this just sets the collПредписанияs collection to an empty array (like clearcollПредписанияs()); * however, you may wish to override this method in your stub class to provide setting appropriate * to your application -- for example, setting the initial array to the values stored in database. * * @param boolean $overrideExisting If set to true, the method call initializes * the collection even if it is not empty * * @return void */ public function initПредписанияs($overrideExisting = true) { if (null !== $this->collПредписанияs && !$overrideExisting) { return; } $collectionClassName = ПредписанияTableMap::getTableMap()->getCollectionClassName(); $this->collПредписанияs = new $collectionClassName(); $this->collПредписанияs->setModel('\\Предписания'); }
/** * Initializes the collПредписанияsRelatedByфактическаядатаустранения collection. * * By default this just sets the collПредписанияsRelatedByфактическаядатаустранения collection to an empty array (like clearcollПредписанияsRelatedByфактическаядатаустранения()); * however, you may wish to override this method in your stub class to provide setting appropriate * to your application -- for example, setting the initial array to the values stored in database. * * @param boolean $overrideExisting If set to true, the method call initializes * the collection even if it is not empty * * @return void */ public function initПредписанияsRelatedByфактическаядатаустранения($overrideExisting = true) { if (null !== $this->collПредписанияsRelatedByфактическаядатаустранения && !$overrideExisting) { return; } $collectionClassName = ПредписанияTableMap::getTableMap()->getCollectionClassName(); $this->collПредписанияsRelatedByфактическаядатаустранения = new $collectionClassName(); $this->collПредписанияsRelatedByфактическаядатаустранения->setModel('\\Предписания'); }