1 | <?php |
||
39 | class ApacheSolrDocumentController extends ActionController |
||
40 | { |
||
41 | |||
42 | /** |
||
43 | * Page ID in page context |
||
44 | * |
||
45 | * @var int |
||
46 | */ |
||
47 | protected $pageId = 0; |
||
48 | |||
49 | /** |
||
50 | * Page ID in page context |
||
51 | * |
||
52 | * @var int |
||
53 | */ |
||
54 | protected $languageId = 0; |
||
55 | |||
56 | /** |
||
57 | * @var \ApacheSolrForTypo3\Solr\Domain\Search\Repository\ApacheSolrDocumentRepository |
||
58 | * @inject |
||
59 | */ |
||
60 | protected $apacheSolrDocumentRepository; |
||
61 | |||
62 | /** |
||
63 | * Initializes action |
||
64 | * |
||
65 | * @return void |
||
66 | */ |
||
67 | protected function initializeAction() |
||
74 | |||
75 | /** |
||
76 | * Initializes required for processing properties page and language Ids |
||
77 | * |
||
78 | * @param $pageId |
||
79 | * @param $languageId |
||
80 | */ |
||
81 | public function initializePageIdAndLanguageId($pageId, $languageId) |
||
86 | |||
87 | /** |
||
88 | * Lists all avalable apacha solr documents from page |
||
89 | * |
||
90 | * @return string|void |
||
91 | */ |
||
92 | public function indexAction() |
||
105 | } |
||
106 |