Exemplo n.º 1
0
 public function save($connection = null)
 {
     parent::save($connection);
     // Save related terms
     foreach ($this->termsRelatedByparentId as $child) {
         $child->setIndexOnSave(false);
         $child->parentId = $this->id;
         try {
             $child->save();
         } catch (PropelException $e) {
         }
     }
 }