Esempio n. 1
0
 public function delete(PropelPDO $con = null)
 {
     $this->loadChildsForSave();
     foreach ($this->childs_for_save as $child) {
         $child->delete($con);
     }
     $this->moveEntriesToParent();
     // will remove from entries
     parent::delete($con);
 }