@@ -114,7 +114,7 @@ |
||
| 114 | 114 | '###LABEL_PAGE###' => htmlspecialchars($this->pi_getLL('label.logicalPage')), |
| 115 | 115 | '###LABEL_NORESULT###' => htmlspecialchars($this->pi_getLL('label.noresult')), |
| 116 | 116 | '###CURRENT_DOCUMENT###' => $this->doc->uid, |
| 117 | - '###SOLR_ENCRYPTED###' => $encryptedSolr ?: '', |
|
| 117 | + '###SOLR_ENCRYPTED###' => $encryptedSolr ? : '', |
|
| 118 | 118 | ]; |
| 119 | 119 | |
| 120 | 120 | $content .= $this->templateService->substituteMarkerArray($this->template, $markerArray); |
@@ -26,8 +26,7 @@ discard block |
||
| 26 | 26 | * @subpackage dlf |
| 27 | 27 | * @access public |
| 28 | 28 | */ |
| 29 | -class SearchInDocumentTool extends \Kitodo\Dlf\Common\AbstractPlugin |
|
| 30 | -{ |
|
| 29 | +class SearchInDocumentTool extends \Kitodo\Dlf\Common\AbstractPlugin { |
|
| 31 | 30 | public $scriptRelPath = 'Classes/Plugin/Tools/SearchInDocumentTool.php'; |
| 32 | 31 | |
| 33 | 32 | /** |
@@ -40,8 +39,7 @@ discard block |
||
| 40 | 39 | * |
| 41 | 40 | * @return string The content that is displayed on the website |
| 42 | 41 | */ |
| 43 | - public function main($content, $conf) |
|
| 44 | - { |
|
| 42 | + public function main($content, $conf) { |
|
| 45 | 43 | |
| 46 | 44 | $this->init($conf); |
| 47 | 45 | |
@@ -128,8 +126,7 @@ discard block |
||
| 128 | 126 | * |
| 129 | 127 | * @return string with encrypted core name |
| 130 | 128 | */ |
| 131 | - protected function getEncryptedCoreName() |
|
| 132 | - { |
|
| 129 | + protected function getEncryptedCoreName() { |
|
| 133 | 130 | // Get core name. |
| 134 | 131 | $name = Helper::getIndexNameFromUid($this->conf['solrcore'], 'tx_dlf_solrcores'); |
| 135 | 132 | // Encrypt core name. |