code/libraries/joomlatools/component/koowa/controller/behavior/findable.php
protected function _afterDelete(KControllerContextInterface $context)
    {
        $name = $this->getMixer()->getIdentifier()->name;

        if ($name === $this->_entity)
        {
            foreach ($context->result as $entity)
            {
                if ($entity->getStatus() === KDatabase::STATUS_DELETED) {
                    $this->_getDispatcher()->trigger('onFinderAfterDelete', array($this->_event_context, $entity));
                }
            }
        }
    }
protected function _afterDelete(KControllerContextInterface $context)
    {
        $name = $this->getMixer()->getIdentifier()->name;

        if ($name === $this->_entity)
        {
            foreach ($context->result as $entity)
            {
                if ($entity->getStatus() === KDatabase::STATUS_DELETED) {
                    $this->_getDispatcher()->trigger('onFinderAfterDelete', array($this->_event_context, $entity));
                }
            }
        }
    }
protected function _afterDelete ( KControllerContextInterface $ context ) { $ name = $ this -> getMixer ( ) -> getIdentifier ( ) -> name ; if ( $ name === $ this -> _entity ) { foreach ( $ context -> result as $ entity ) { if ( $ entity -> getStatus ( ) === KDatabase :: STATUS_DELETED ) { $ this -> _getDispatcher ( ) -> trigger ( 'onFinderAfterDelete' , array ( $ this -> _event_context , $ entity ) ) ; } } } }
Delete items from the index

@param KControllerContextInterface $context
Delete items from the index