Esempio n. 1
0
 /**
  * @param	Section $section The section object to add.
  */
 protected function doAddSection($section)
 {
     $sectionHasItem = new SectionHasItem();
     $sectionHasItem->setSection($section);
     $this->addSectionHasItem($sectionHasItem);
 }
Esempio n. 2
0
 /**
  * @param	SectionHasItem $sectionHasItem The sectionHasItem object to add.
  */
 protected function doAddSectionHasItem($sectionHasItem)
 {
     $this->collSectionHasItems[] = $sectionHasItem;
     $sectionHasItem->setSection($this);
 }