main/core/Manager/HomeManager.php
public function deleNodeEntity($entity, $search, $function = null)
    {
        $entities = $entity->findBy($search);

        foreach ($entities as $entity) {
            $entity->detach();

            if ($function) {
                $function($entity);
            }

            $this->manager->remove($entity);
            $this->manager->flush();
        }
    }
public function deleNodeEntity($entity, $search, $function = null)
    {
        $entities = $entity->findBy($search);

        foreach ($entities as $entity) {
            $entity->detach();

            if ($function) {
                $function($entity);
            }

            $this->manager->remove($entity);
            $this->manager->flush();
        }
    }
public function deleNodeEntity ( $ entity , $ search , $ function = null ) { $ entities = $ entity -> findBy ( $ search ) ; foreach ( $ entities as $ entity ) { $ entity -> detach ( ) ; if ( $ function ) { $ function ( $ entity ) ; } $ this -> manager -> remove ( $ entity ) ; $ this -> manager -> flush ( ) ; } }
Delete a node entity and link together the next and back entities.

@return string The word "true" useful in ajax
Delete a node entity and link together the next and back entities .