Skip to content

Commit

Permalink
[CLEANUP] Remove xclassdefintion and php close tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudsilvrants committed Sep 24, 2015
1 parent e1318a8 commit 8c578a3
Show file tree
Hide file tree
Showing 54 changed files with 177 additions and 389 deletions.
5 changes: 0 additions & 5 deletions Classes/Backend/class.tx_kesearch_classes_flexform.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,3 @@ function listAvailableOrderingsForAdmin(&$config) {
}
}
}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/Backend/class.tx_kesearch_classes_flexform.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/Backend/Class.tx_kesearch_classes_flexform.php']);
}
?>
7 changes: 1 addition & 6 deletions Classes/Backend/class.user_filterlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,4 @@ function getListOfAvailableFilteroptionsForFlexforms(&$config) {
}
}
}
}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/Backend/class.user_filterlist.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/Backend/class.user_filterlist.php']);
}
?>
}
6 changes: 1 addition & 5 deletions Classes/Scheduler/class.tx_kesearch_indexertask.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@



// include indexer class
// include indexer class
require_once(TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('ke_search') . 'Classes/indexer/class.tx_kesearch_indexer.php');

class tx_kesearch_indexertask extends \TYPO3\CMS\Scheduler\Task\AbstractTask {
Expand All @@ -43,8 +43,4 @@ public function execute() {

return true;
}
}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/Scheduler/class.tx_kesearch_indexertask.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/Scheduler/class.tx_kesearch_indexertask.php']);
}
11 changes: 3 additions & 8 deletions Classes/hooks/class.user_kesearchhooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/***************************************************************
* Copyright notice
*
* (c) 2011 Stefan Froemken
* (c) 2011 Stefan Froemken
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
Expand All @@ -25,7 +25,7 @@
/**
* Hooks for ke_search
*
* @author Stefan Froemken
* @author Stefan Froemken
* @package TYPO3
* @subpackage ke_search
*/
Expand Down Expand Up @@ -156,9 +156,4 @@ public function modifyTemplaVoilaIndexEntry($uid, &$pageContent, &$tags, $cached
$additionalFields['orig_pid'] = $cachedPageRecords[0][$uid]['pid'];
}
}
}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/hooks/class.user_kesearchhooks.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/hooks/class.user_kesearchhooks.php']);
}
?>
}
9 changes: 2 additions & 7 deletions Classes/indexer/class.tx_kesearch_indexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* Plugin 'Faceted search' for the 'ke_search' extension.
*
* @author Andreas Kiefer (kennziffer.com) <kiefer@kennziffer.com>
* @author Stefan Froemken
* @author Stefan Froemken
* @package TYPO3
* @subpackage tx_kesearch
*/
Expand Down Expand Up @@ -778,9 +778,4 @@ public function getConfigurations() {
$where .= \TYPO3\CMS\Backend\Utility\BackendUtility::deleteClause($table);
return $GLOBALS['TYPO3_DB']->exec_SELECTgetRows($fields, $table, $where);
}
}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/class.tx_kesearch_indexer.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/class.tx_kesearch_indexer.php']);
}
?>
}
9 changes: 2 additions & 7 deletions Classes/indexer/class.tx_kesearch_indexer_types.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* Plugin 'Faceted search' for the 'ke_search' extension.
*
* @author Andreas Kiefer (kennziffer.com) <kiefer@kennziffer.com>
* @author Stefan Froemken
* @author Stefan Froemken
* @author Christian Bülter <christian.buelter@inmedias.de>
*
* @package TYPO3
Expand Down Expand Up @@ -300,9 +300,4 @@ public function getTag($tagUid, $clearText=false) {
return $row['tag'];
}
}
}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/class.tx_kesearch_indexer_types.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/class.tx_kesearch_indexer_types.php']);
}
?>
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* * *************************************************************
* Copyright notice
*
* (c) 2011 Stefan Froemken
* (c) 2011 Stefan Froemken
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
Expand All @@ -26,7 +26,7 @@
/**
* Plugin 'Faceted search' for the 'ke_search' extension.
*
* @author Stefan Froemken
* @author Stefan Froemken
* @author Lukas Kamber
* @package TYPO3
* @subpackage tx_kesearch
Expand Down Expand Up @@ -99,9 +99,4 @@ public function getContent($file) {
return false;
}

}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/filetypes/class.tx_kesearch_indexer_filetypes_doc.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/filetypes/class.tx_kesearch_indexer_filetypes_doc.php']);
}
?>
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* * *************************************************************
* Copyright notice
*
* (c) 2011 Stefan Froemken
* (c) 2011 Stefan Froemken
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
Expand Down Expand Up @@ -162,9 +162,4 @@ function removeEndJunk($string) {
return trim(preg_replace('/[' . LF . chr(12) . ']*$/', '', $string));
}

}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/filetypes/class.tx_kesearch_indexer_filetypes_pdf.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/filetypes/class.tx_kesearch_indexer_filetypes_pdf.php']);
}
?>
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* * *************************************************************
* Copyright notice
*
* (c) 2011 Stefan Froemken
* (c) 2011 Stefan Froemken
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
Expand All @@ -26,7 +26,7 @@
/**
* Plugin 'Faceted search' for the 'ke_search' extension.
*
* @author Stefan Froemken
* @author Stefan Froemken
* @package TYPO3
* @subpackage tx_kesearch
*/
Expand Down Expand Up @@ -96,9 +96,4 @@ public function getContent($file) {
return false;
}

}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/filetypes/class.tx_kesearch_indexer_filetypes_ppt.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/filetypes/class.tx_kesearch_indexer_filetypes_ppt.php']);
}
?>
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* * *************************************************************
* Copyright notice
*
* (c) 2011 Stefan Froemken
* (c) 2011 Stefan Froemken
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
Expand All @@ -26,7 +26,7 @@
/**
* Plugin 'Faceted search' for the 'ke_search' extension.
*
* @author Stefan Froemken
* @author Stefan Froemken
* @author Lukas Kamber
* @package TYPO3
* @subpackage tx_kesearch
Expand Down Expand Up @@ -97,9 +97,4 @@ public function getContent($file) {
return false;
}

}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/filetypes/class.tx_kesearch_indexer_filetypes_xls.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/filetypes/class.tx_kesearch_indexer_filetypes_xls.php']);
}
?>
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ interface tx_kesearch_indexer_filetypes {
*/
public function getContent($file);
}
?>
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* Plugin 'Faceted search' for the 'ke_search' extension.
*
* @author Andreas Kiefer (kennziffer.com) <kiefer@kennziffer.com>
* @author Stefan Frömken
* @author Stefan Frömken
* @author Christian Bülter (kennziffer.com) <buelter@kennziffer.com>
* @package TYPO3
* @subpackage tx_kesearch
Expand Down Expand Up @@ -151,9 +151,4 @@ public function startIndexing() {
}
return $content;
}
}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/types/class.tx_kesearch_indexer_types_ttnews.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/types/class.tx_kesearch_indexer_types_ttnews.php']);
}
?>
}
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,4 @@ public function compileCommentTitle($comment=array()) {
}
return $title;
}
}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/types/class.tx_kesearch_indexer_types_ttnews.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/types/class.tx_kesearch_indexer_types_ttnews.php']);
}
?>
}
9 changes: 2 additions & 7 deletions Classes/indexer/types/class.tx_kesearch_indexer_types_dam.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* Plugin 'Faceted search' for the 'ke_search' extension.
*
* @author Andreas Kiefer (kennziffer.com) <kiefer@kennziffer.com>
* @author Stefan Froemken
* @author Stefan Froemken
* @package TYPO3
* @subpackage tx_kesearch
*/
Expand Down Expand Up @@ -237,9 +237,4 @@ public function getRecursiveDAMCategories($catUid, $depth = 0) {
return '';
}
}
}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/types/class.tx_kesearch_indexer_types_dam.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/types/class.tx_kesearch_indexer_types_dam.php']);
}
?>
}
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,4 @@ public function storeToIndex($file, $content) {
);
}

}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/types/class.tx_kesearch_indexer_types_file.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/types/class.tx_kesearch_indexer_types_file.php']);
}
?>
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* Plugin 'Faceted search' for the 'ke_search' extension.
*
* @author Andreas Kiefer (kennziffer.com) <kiefer@kennziffer.com>
* @author Stefan Froemken
* @author Stefan Froemken
* @package TYPO3
* @subpackage tx_kesearch
*/
Expand Down Expand Up @@ -152,9 +152,4 @@ public function startIndexing() {

return $content;
}
}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/types/class.tx_kesearch_indexer_types_ke_yac.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/types/class.tx_kesearch_indexer_types_ke_yac.php']);
}
?>
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* Plugin 'Faceted search' for the 'ke_search' extension.
*
* @author Andreas Kiefer (kennziffer.com) <kiefer@kennziffer.com>
* @author Stefan Froemken
* @author Stefan Froemken
* @author Jan Bartels (ADFC NRW) <j.bartels@adfc-nrw.de>
* @package TYPO3
* @subpackage tx_kesearch
Expand Down Expand Up @@ -238,9 +238,4 @@ public function startIndexing() {

return $content;
}
}

if (defined('TYPO3_MODE') && $GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/types/class.tx_kesearch_indexer_types_mmforum.php']) {
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/ke_search/Classes/indexer/types/class.tx_kesearch_indexer_types_mmforum.php']);
}
?>
}
Loading

0 comments on commit 8c578a3

Please sign in to comment.