Browse Source

Move namespace declaration behind file-level docs

pull/433/head
Sebastian Meyer 3 years ago
parent
commit
57ecf61ae9
  1. 28
      Classes/Command/IndexCommand.php
  2. 41
      Classes/Command/ReindexCommand.php
  3. 4
      Classes/Common/AbstractModule.php
  4. 4
      Classes/Common/AbstractPlugin.php
  5. 4
      Classes/Common/Document.php
  6. 4
      Classes/Common/DocumentList.php
  7. 4
      Classes/Common/DocumentTypeCheck.php
  8. 4
      Classes/Common/FulltextInterface.php
  9. 4
      Classes/Common/Helper.php
  10. 10
      Classes/Common/IiifManifest.php
  11. 8
      Classes/Common/IiifUrlReader.php
  12. 4
      Classes/Common/Indexer.php
  13. 4
      Classes/Common/MetadataInterface.php
  14. 14
      Classes/Common/MetsDocument.php
  15. 4
      Classes/Common/Solr.php
  16. 4
      Classes/Format/Alto.php
  17. 4
      Classes/Format/Mods.php
  18. 4
      Classes/Format/TeiHeader.php
  19. 4
      Classes/Hooks/ConfigurationForm.php
  20. 4
      Classes/Hooks/DataHandler.php
  21. 4
      Classes/Hooks/ExtensionManagementUtility.php
  22. 4
      Classes/Hooks/FormEngine.php
  23. 4
      Classes/Hooks/KitodoProductionHacks.php
  24. 4
      Classes/Module/NewTenant.php
  25. 4
      Classes/Plugin/AudioPlayer.php
  26. 4
      Classes/Plugin/Basket.php
  27. 4
      Classes/Plugin/Calendar.php
  28. 4
      Classes/Plugin/Collection.php
  29. 4
      Classes/Plugin/Eid/PageViewProxy.php
  30. 4
      Classes/Plugin/Eid/SearchInDocument.php
  31. 4
      Classes/Plugin/Eid/SearchSuggest.php
  32. 4
      Classes/Plugin/Feeds.php
  33. 4
      Classes/Plugin/ListView.php
  34. 4
      Classes/Plugin/Metadata.php
  35. 4
      Classes/Plugin/Navigation.php
  36. 4
      Classes/Plugin/OaiPmh.php
  37. 4
      Classes/Plugin/PageGrid.php
  38. 4
      Classes/Plugin/PageView.php
  39. 4
      Classes/Plugin/Search.php
  40. 4
      Classes/Plugin/Statistics.php
  41. 4
      Classes/Plugin/TableOfContents.php
  42. 4
      Classes/Plugin/Toolbox.php
  43. 4
      Classes/Plugin/Tools/AnnotationTool.php
  44. 4
      Classes/Plugin/Tools/FulltextTool.php
  45. 4
      Classes/Plugin/Tools/ImageDownloadTool.php
  46. 4
      Classes/Plugin/Tools/ImageManipulationTool.php
  47. 4
      Classes/Plugin/Tools/PdfDownloadTool.php
  48. 4
      Classes/Plugin/Tools/SearchInDocumentTool.php
  49. 4
      Classes/Plugin/Validator.php

28
Classes/Command/IndexCommand.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Command;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Command;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
@ -24,12 +24,19 @@ use TYPO3\CMS\Core\Database\ConnectionPool;
use Kitodo\Dlf\Common\Document;
/**
* Index single document into database and Solr.
* CLI Command for indexing single documents into database and Solr.
*
* @author Alexander Bigga <alexander.bigga@slub-dresden.de>
* @package TYPO3
* @subpackage dlf
* @access public
*/
class IndexCommand extends Command
{
/**
* Configure the command by defining the name, options and arguments
*
* @return void
*/
public function configure()
{
@ -65,8 +72,10 @@ class IndexCommand extends Command
/**
* Executes the command to index the given document to db and solr.
*
* @param InputInterface $input
* @param OutputInterface $output
* @param InputInterface $input The input parameters
* @param OutputInterface $output The Symfony interface for outputs on console
*
* @return void
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
@ -153,11 +162,11 @@ class IndexCommand extends Command
/**
* Fetches all records of tx_dlf_solrcores on given page.
* Fetches all Solr cores on given page.
*
* @param int $pageId the uid of the solr record
* @param int $pageId The UID of the Solr core or 0 to disable indexing
*
* @return array array of valid solr cores
* @return array Array of valid Solr cores
*/
protected function getSolrCores(int $pageId): array
{
@ -165,14 +174,13 @@ class IndexCommand extends Command
->getQueryBuilderForTable('tx_dlf_solrcores');
$solrCores = [];
$pageId = (int) $pageId;
$result = $queryBuilder
->select('uid', 'index_name')
->from('tx_dlf_solrcores')
->where(
$queryBuilder->expr()->eq(
'pid',
$queryBuilder->createNamedParameter($pageId, \PDO::PARAM_INT)
$queryBuilder->createNamedParameter((int) $pageId, Connection::PARAM_INT)
)
)
->execute();

41
Classes/Command/ReindexCommand.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Command;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Command;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
@ -25,12 +25,19 @@ use TYPO3\CMS\Core\Database\Connection;
use Kitodo\Dlf\Common\Document;
/**
* Reindex a collection into database and Solr.
* CLI Command for re-indexing collections into database and Solr.
*
* @author Alexander Bigga <alexander.bigga@slub-dresden.de>
* @package TYPO3
* @subpackage dlf
* @access public
*/
class ReindexCommand extends Command
{
/**
* Configure the command by defining the name, options and arguments
*
* @return void
*/
public function configure()
{
@ -72,8 +79,10 @@ class ReindexCommand extends Command
/**
* Executes the command to index the given document to db and solr.
*
* @param InputInterface $input
* @param OutputInterface $output
* @param InputInterface $input The input parameters
* @param OutputInterface $output The Symfony interface for outputs on console
*
* @return void
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
@ -167,11 +176,11 @@ class ReindexCommand extends Command
/**
* Fetches all records of tx_dlf_solrcores on given page.
* Fetches all Solr cores on given page.
*
* @param int $pageId the uid of the solr record (can also be 0)
* @param int $pageId The UID of the Solr core or 0 to disable indexing
*
* @return array array of valid solr cores
* @return array Array of valid Solr cores
*/
protected function getSolrCores(int $pageId): array
{
@ -179,14 +188,13 @@ class ReindexCommand extends Command
->getQueryBuilderForTable('tx_dlf_solrcores');
$solrCores = [];
$pageId = (int) $pageId;
$result = $queryBuilder
->select('uid', 'index_name')
->from('tx_dlf_solrcores')
->where(
$queryBuilder->expr()->eq(
'pid',
$queryBuilder->createNamedParameter($pageId, \PDO::PARAM_INT)
$queryBuilder->createNamedParameter((int) $pageId, Connection::PARAM_INT)
)
)
->execute();
@ -201,10 +209,10 @@ class ReindexCommand extends Command
/**
* Fetches all documents with given collection.
*
* @param string $collId a comma separated list of collection uids
* @param int $pageId the uid of the solr record
* @param string $collId A comma separated list of collection UIDs
* @param int $pageId The PID of the collections' documents
*
* @return array array of valid solr cores
* @return array Array of documents to index
*/
protected function getDocumentsToProceed(string $collIds, int $pageId): array
{
@ -212,7 +220,6 @@ class ReindexCommand extends Command
->getQueryBuilderForTable('tx_dlf_documents');
$documents = [];
$pageId = (int) $pageId;
$result = $queryBuilder
->select('tx_dlf_documents.uid')
->from('tx_dlf_documents')
@ -245,7 +252,7 @@ class ReindexCommand extends Command
),
$queryBuilder->expr()->eq(
'tx_dlf_collections_join.pid',
$queryBuilder->createNamedParameter($pageId, Connection::PARAM_INT)
$queryBuilder->createNamedParameter((int) $pageId, Connection::PARAM_INT)
),
$queryBuilder->expr()->eq(
'tx_dlf_relations_joins.ident',
@ -267,9 +274,9 @@ class ReindexCommand extends Command
/**
* Fetches all documents of given page.
*
* @param int $pageId the uid of the solr record
* @param int $pageId The documents' PID
*
* @return array array of valid solr cores
* @return array Array of documents to index
*/
protected function getAllDocuments(int $pageId): array
{

4
Classes/Common/AbstractModule.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
/**
* Abstract module class for the 'dlf' extension
*

4
Classes/Common/AbstractPlugin.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
use TYPO3\CMS\Core\Service\MarkerBasedTemplateService;

4
Classes/Common/Document.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
use TYPO3\CMS\Core\Utility\GeneralUtility;

4
Classes/Common/DocumentList.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
use TYPO3\CMS\Core\Utility\GeneralUtility;

4
Classes/Common/DocumentTypeCheck.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
use TYPO3\CMS\Core\Utility\GeneralUtility;

4
Classes/Common/FulltextInterface.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
/**
* Fulltext interface for the 'dlf' extension
*

4
Classes/Common/Helper.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
use TYPO3\CMS\Core\Utility\GeneralUtility;

10
Classes/Common/IiifManifest.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
use Flow\JSONPath\JSONPath;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use Ubl\Iiif\Presentation\Common\Model\Resources\AnnotationContainerInterface;
@ -34,9 +34,9 @@ use Ubl\Iiif\Tools\IiifHelper;
* represents a IIIF manifest in the conext of this TYPO3 extension.
*
* @author Lutz Helm <helm@ub.uni-leipzig.de>
* @package TYPO3
* @subpackage tx_dlf
* @access public
* @package TYPO3
* @subpackage dlf
* @access public
* @property-write int $cPid This holds the PID for the configuration
* @property-read bool $hasFulltext Are there any fulltext files available?
* @property-read string $location This holds the documents location

8
Classes/Common/IiifUrlReader.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use Ubl\Iiif\Tools\UrlReaderInterface;
@ -21,7 +21,9 @@ use Ubl\Iiif\Tools\UrlReaderInterface;
* IIIF library.
*
* @author Lutz Helm <helm@ub.uni-leipzig.de>
*
* @package TYPO3
* @subpackage dlf
* @access public
*/
class IiifUrlReader implements UrlReaderInterface
{

4
Classes/Common/Indexer.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
use TYPO3\CMS\Core\Utility\GeneralUtility;

4
Classes/Common/MetadataInterface.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
/**
* Metadata interface for the 'dlf' extension
*

14
Classes/Common/MetsDocument.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
@ -21,11 +21,11 @@ use Ubl\Iiif\Services\AbstractImageService;
/**
* MetsDocument class for the 'dlf' extension.
*
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @author Henrik Lochmann <dev@mentalmotive.com>
* @package TYPO3
* @subpackage tx_dlf
* @access public
* @author Sebastian Meyer <sebastian.meyer@slub-dresden.de>
* @author Henrik Lochmann <dev@mentalmotive.com>
* @package TYPO3
* @subpackage dlf
* @access public
* @property-write int $cPid This holds the PID for the configuration
* @property-read array $dmdSec This holds the XML file's dmdSec parts with their IDs as array key
* @property-read array $fileGrps This holds the file ID -> USE concordance

4
Classes/Common/Solr.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Common;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Common;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Common;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
use TYPO3\CMS\Core\Utility\GeneralUtility;

4
Classes/Format/Alto.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Format;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Format;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Format;
/**
* Fulltext ALTO format class for the 'dlf' extension
*

4
Classes/Format/Mods.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Format;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Format;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Format;
/**
* Metadata MODS format class for the 'dlf' extension
*

4
Classes/Format/TeiHeader.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Format;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Format;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Format;
/**
* Metadata TEI-Header format class for the 'dlf' extension
*

4
Classes/Hooks/ConfigurationForm.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Hooks;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Hooks;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Hooks;
use Kitodo\Dlf\Common\Helper;
use Kitodo\Dlf\Common\Solr;
use TYPO3\CMS\Core\Database\ConnectionPool;

4
Classes/Hooks/DataHandler.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Hooks;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Hooks;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Hooks;
use Kitodo\Dlf\Common\Document;
use Kitodo\Dlf\Common\Helper;
use Kitodo\Dlf\Common\Indexer;

4
Classes/Hooks/ExtensionManagementUtility.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Hooks;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Hooks;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Hooks;
use Kitodo\Dlf\Common\Helper;
/**

4
Classes/Hooks/FormEngine.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Hooks;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Hooks;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Hooks;
use Kitodo\Dlf\Common\Helper;
/**

4
Classes/Hooks/KitodoProductionHacks.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Hooks;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Hooks;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Hooks;
/**
* Hooks and hacks for Kitodo.Production
*

4
Classes/Module/NewTenant.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Module;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Module;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Module;
use Kitodo\Dlf\Common\Helper;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;

4
Classes/Plugin/AudioPlayer.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
/**
* Plugin AudioPlayer for the 'dlf' extension
*

4
Classes/Plugin/Basket.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\Document;
use Kitodo\Dlf\Common\Helper;
use TYPO3\CMS\Core\Database\ConnectionPool;

4
Classes/Plugin/Calendar.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\Helper;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;

4
Classes/Plugin/Collection.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\DocumentList;
use Kitodo\Dlf\Common\Helper;
use Kitodo\Dlf\Common\Solr;

4
Classes/Plugin/Eid/PageViewProxy.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin\Eid;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin\Eid;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin\Eid;
/**
* eID image proxy for plugin 'Page View' of the 'dlf' extension
*

4
Classes/Plugin/Eid/SearchInDocument.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin\Eid;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin\Eid;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin\Eid;
use Kitodo\Dlf\Common\Helper;
use Kitodo\Dlf\Common\Solr;
use TYPO3\CMS\Core\Utility\GeneralUtility;

4
Classes/Plugin/Eid/SearchSuggest.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin\Eid;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin\Eid;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin\Eid;
use Kitodo\Dlf\Common\Helper;
use Kitodo\Dlf\Common\Solr;
use TYPO3\CMS\Core\Utility\GeneralUtility;

4
Classes/Plugin/Feeds.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\Document;
use Kitodo\Dlf\Common\Helper;
use TYPO3\CMS\Core\Database\ConnectionPool;

4
Classes/Plugin/ListView.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\Document;
use Kitodo\Dlf\Common\DocumentList;
use Kitodo\Dlf\Common\Helper;

4
Classes/Plugin/Metadata.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\Document;
use Kitodo\Dlf\Common\Helper;
use Kitodo\Dlf\Common\IiifManifest;

4
Classes/Plugin/Navigation.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\DocumentList;
use Kitodo\Dlf\Common\Helper;

4
Classes/Plugin/OaiPmh.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\DocumentList;
use Kitodo\Dlf\Common\Helper;
use Kitodo\Dlf\Common\Solr;

4
Classes/Plugin/PageGrid.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\Helper;
/**

4
Classes/Plugin/PageView.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\Helper;
use Kitodo\Dlf\Common\IiifManifest;
use Ubl\Iiif\Presentation\Common\Model\Resources\ManifestInterface;

4
Classes/Plugin/Search.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\Document;
use Kitodo\Dlf\Common\DocumentList;
use Kitodo\Dlf\Common\Helper;

4
Classes/Plugin/Statistics.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\Helper;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;

4
Classes/Plugin/TableOfContents.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
use Kitodo\Dlf\Common\Helper;
/**

4
Classes/Plugin/Toolbox.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
/**
* Plugin 'Toolbox' for the 'dlf' extension
*

4
Classes/Plugin/Tools/AnnotationTool.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin\Tools;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin\Tools;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin\Tools;
use Kitodo\Dlf\Common\AbstractPlugin;
use Kitodo\Dlf\Common\Helper;

4
Classes/Plugin/Tools/FulltextTool.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin\Tools;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin\Tools;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin\Tools;
use Kitodo\Dlf\Common\Helper;
/**

4
Classes/Plugin/Tools/ImageDownloadTool.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin\Tools;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin\Tools;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin\Tools;
use Kitodo\Dlf\Common\Helper;
/**

4
Classes/Plugin/Tools/ImageManipulationTool.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin\Tools;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin\Tools;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin\Tools;
use Kitodo\Dlf\Common\Helper;
/**

4
Classes/Plugin/Tools/PdfDownloadTool.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin\Tools;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin\Tools;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin\Tools;
use Kitodo\Dlf\Common\Helper;
/**

4
Classes/Plugin/Tools/SearchInDocumentTool.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin\Tools;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin\Tools;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin\Tools;
use Kitodo\Dlf\Common\Helper;
use TYPO3\CMS\Core\Utility\GeneralUtility;

4
Classes/Plugin/Validator.php

@ -1,7 +1,5 @@
<?php
namespace Kitodo\Dlf\Plugin;
/**
* (c) Kitodo. Key to digital objects e.V. <contact@kitodo.org>
*
@ -12,6 +10,8 @@ namespace Kitodo\Dlf\Plugin;
* LICENSE.txt file that was distributed with this source code.
*/
namespace Kitodo\Dlf\Plugin;
/**
* Plugin 'Validator' for the 'dlf' extension
*

Loading…
Cancel
Save