PHP 클래스 Knp\Bundle\KnpBundlesBundle\Indexer\SolrIndexer

저자: Paweł Jędrzejewski ([email protected])
파일 보기 프로젝트 열기: KnpLabs/KnpBundles 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$doctrine Doctrine\Bundle\DoctrineBundle\Registry
$solarium Solarium_Client

공개 메소드들

메소드 설명
__construct ( Doctrine\Bundle\DoctrineBundle\Registry $doctrine, Solarium_Client $solarium )
deleteBundlesIndexes ( Bundle $bundle = null ) Delete all bundles from index
indexBundle ( Bundle $bundle ) Indexes single bundle.

비공개 메소드들

메소드 설명
updateDocumentFromBundle ( Solarium_Document_ReadWrite $document, Bundle $bundle, Solarium_Query_Helper $helper ) Populates document with bundle data.

메소드 상세

__construct() 공개 메소드

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

deleteBundlesIndexes() 공개 메소드

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

indexBundle() 공개 메소드

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

프로퍼티 상세

$doctrine 보호되어 있는 프로퍼티

protected Registry,Doctrine\Bundle\DoctrineBundle $doctrine
리턴 Doctrine\Bundle\DoctrineBundle\Registry

$solarium 보호되어 있는 프로퍼티

protected Solarium_Client $solarium
리턴 Solarium_Client