PHP Class Knp\Bundle\KnpBundlesBundle\Indexer\SolrIndexer

Author: Paweł Jędrzejewski ([email protected])
Afficher le fichier Open project: KnpLabs/KnpBundles Class Usage Examples

Protected Properties

Свойство Type Description
$doctrine Doctrine\Bundle\DoctrineBundle\Registry
$solarium Solarium_Client

Méthodes publiques

Méthode Description
__construct ( Doctrine\Bundle\DoctrineBundle\Registry $doctrine, Solarium_Client $solarium )
deleteBundlesIndexes ( Bundle $bundle = null ) Delete all bundles from index
indexBundle ( Bundle $bundle ) Indexes single bundle.

Private Methods

Méthode Description
updateDocumentFromBundle ( Solarium_Document_ReadWrite $document, Bundle $bundle, Solarium_Query_Helper $helper ) Populates document with bundle data.

Method Details

__construct() public méthode

public __construct ( Doctrine\Bundle\DoctrineBundle\Registry $doctrine, Solarium_Client $solarium )
$doctrine Doctrine\Bundle\DoctrineBundle\Registry
$solarium Solarium_Client

deleteBundlesIndexes() public méthode

Delete all bundles from index
public deleteBundlesIndexes ( Bundle $bundle = null )
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle

indexBundle() public méthode

Indexes single bundle.
public indexBundle ( Bundle $bundle )
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle

Property Details

$doctrine protected_oe property

protected Registry,Doctrine\Bundle\DoctrineBundle $doctrine
Résultat Doctrine\Bundle\DoctrineBundle\Registry

$solarium protected_oe property

protected Solarium_Client $solarium
Résultat Solarium_Client