Commit b0ed4db1 authored by Marco Huber's avatar Marco Huber
Browse files

Rename vendor name from TYPO3 to T3o

parent 730b67cf
<?php
namespace TYPO3\Election\Controller;
namespace T3o\Election\Controller;
/*
* This file is part of the TYPO3 CMS project.
......@@ -19,7 +19,7 @@ use TYPO3\CMS\Core\Messaging\AbstractMessage;
use TYPO3\CMS\Extbase\Mvc\Controller\ActionController;
use TYPO3\CMS\Extbase\Mvc\View\ViewInterface;
use TYPO3\CMS\Extbase\Property\TypeConverter\DateTimeConverter;
use TYPO3\Election\Domain\Model\Configuration;
use T3o\Election\Domain\Model\Configuration;
/**
* Class AbstractBeController
......@@ -37,7 +37,7 @@ abstract class AbstractBeController extends ActionController
protected $configuration = null;
/**
* @var \TYPO3\Election\Domain\Repository\ConfigurationRepository
* @var \T3o\Election\Domain\Repository\ConfigurationRepository
* @inject
*/
protected $configurationRepository = null;
......
<?php
namespace TYPO3\Election\Controller;
namespace T3o\Election\Controller;
/*
* This file is part of the TYPO3 CMS project.
......
<?php
namespace TYPO3\Election\Controller;
namespace T3o\Election\Controller;
/*
* This file is part of the TYPO3 CMS project.
......@@ -14,7 +14,7 @@ namespace TYPO3\Election\Controller;
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\Election\Domain\Model\Configuration;
use T3o\Election\Domain\Model\Configuration;
/**
* Class BeConfigurationController
......
<?php
namespace TYPO3\Election\Controller;
namespace T3o\Election\Controller;
/*
* This file is part of the TYPO3 CMS project.
......@@ -15,8 +15,8 @@ namespace TYPO3\Election\Controller;
*/
use TYPO3\CMS\Core\Messaging\AbstractMessage;
use TYPO3\CMS\Extbase\Utility\LocalizationUtility;
use TYPO3\Election\Domain\Repository\ElectionCircularRepository;
use TYPO3\Election\Domain\Repository\ElectorImportRepository;
use T3o\Election\Domain\Repository\ElectionCircularRepository;
use T3o\Election\Domain\Repository\ElectorImportRepository;
/**
* Dashboard controller
......@@ -27,7 +27,7 @@ class BeDashboardController extends AbstractBeController
const ACTION_INDEX = 'index';
/**
* @var \TYPO3\Election\Domain\Repository\ElectionRepository
* @var \T3o\Election\Domain\Repository\ElectionRepository
* @inject
*/
protected $electionRepository = null;
......
<?php
namespace TYPO3\Election\Controller;
namespace T3o\Election\Controller;
/*
* This file is part of the TYPO3 CMS project.
......@@ -17,11 +17,11 @@ use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\DatabaseConnection;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\Election\Domain\Model\ElectionCircular;
use TYPO3\Election\Domain\Model\Elector;
use TYPO3\Election\Service\CircularService;
use TYPO3\Election\Service\ElectionInvitationService;
use TYPO3\Election\Utility\MailUtility;
use T3o\Election\Domain\Model\ElectionCircular;
use T3o\Election\Domain\Model\Elector;
use T3o\Election\Service\CircularService;
use T3o\Election\Service\ElectionInvitationService;
use T3o\Election\Utility\MailUtility;
/**
* Class BeConfigurationController
......@@ -41,13 +41,13 @@ class BeElectionCircularController extends AbstractProtectedBeController
const ACTION_SEND_PREVIEW = 'sendPreview';
/**
* @var \TYPO3\Election\Domain\Repository\ElectionCircularRepository
* @var \T3o\Election\Domain\Repository\ElectionCircularRepository
* @inject
*/
protected $electionCircularRepository = null;
/**
* @var \TYPO3\Election\Domain\Repository\ElectionRepository
* @var \T3o\Election\Domain\Repository\ElectionRepository
* @inject
*/
protected $electionRepository = null;
......
<?php
namespace TYPO3\Election\Controller;
namespace T3o\Election\Controller;
/*
* This file is part of the TYPO3 CMS project.
......@@ -14,7 +14,7 @@ namespace TYPO3\Election\Controller;
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\Election\Domain\Model\Election;
use T3o\Election\Domain\Model\Election;
/**
* Class BeConfigurationController
......@@ -31,19 +31,19 @@ class BeElectionController extends AbstractProtectedBeController
const ACTION_SUMMARY = 'summary';
/**
* @var \TYPO3\Election\Domain\Repository\ElectionRepository
* @var \T3o\Election\Domain\Repository\ElectionRepository
* @inject
*/
protected $electionRepository = null;
/**
* @var \TYPO3\Election\Domain\Repository\ElectorateRepository
* @var \T3o\Election\Domain\Repository\ElectorateRepository
* @inject
*/
protected $electorateRepository = null;
/**
* @var \TYPO3\Election\Domain\Repository\NomineeRepository
* @var \T3o\Election\Domain\Repository\NomineeRepository
* @inject
*/
protected $nomineeRepository = null;
......
<?php
namespace TYPO3\Election\Controller;
namespace T3o\Election\Controller;
/*
* This file is part of the TYPO3 CMS project.
......@@ -14,12 +14,12 @@ namespace TYPO3\Election\Controller;
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
use TYPO3\Election\Domain\Model\Dto\ElectorImport as ElectorImportDto;
use TYPO3\Election\Domain\Model\Election;
use TYPO3\Election\Domain\Model\Elector;
use TYPO3\Election\Domain\Model\ElectorImport;
use TYPO3\Election\Utility\CsvUtility;
use TYPO3\Election\Utility\FileUtility;
use T3o\Election\Domain\Model\Dto\ElectorImport as ElectorImportDto;
use T3o\Election\Domain\Model\Election;
use T3o\Election\Domain\Model\Elector;
use T3o\Election\Domain\Model\ElectorImport;
use T3o\Election\Utility\CsvUtility;
use T3o\Election\Utility\FileUtility;
/**
* Class BeConfigurationController
......@@ -40,19 +40,19 @@ class BeElectorController extends AbstractProtectedBeController
const ACTION_OVERWRITE_ALL = 'overwriteAll';
/**
* @var \TYPO3\Election\Domain\Repository\ElectorateRepository
* @var \T3o\Election\Domain\Repository\ElectorateRepository
* @inject
*/
protected $electorateRepository = null;
/**
* @var \TYPO3\Election\Domain\Repository\ElectorRepository
* @var \T3o\Election\Domain\Repository\ElectorRepository
* @inject
*/
protected $electorRepository = null;
/**
* @var \TYPO3\Election\Domain\Repository\ElectorImportRepository
* @var \T3o\Election\Domain\Repository\ElectorImportRepository
* @inject
*/
protected $electorImportRepository = null;
......
<?php
namespace TYPO3\Election\Controller;
namespace T3o\Election\Controller;
/*
* This file is part of the TYPO3 CMS project.
......@@ -14,7 +14,7 @@ namespace TYPO3\Election\Controller;
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\Election\Domain\Model\Electorate;
use T3o\Election\Domain\Model\Electorate;
/**
* Class BeElectorateController
......@@ -31,13 +31,13 @@ class BeElectorateController extends AbstractProtectedBeController
const ACTION_UPDATE_AND_IMPORT_ELECTORS = 'updateAndImportElectors';
/**
* @var \TYPO3\Election\Domain\Repository\ElectorateRepository
* @var \T3o\Election\Domain\Repository\ElectorateRepository
* @inject
*/
protected $electorateRepository = null;
/**
* @var \TYPO3\Election\Domain\Repository\ElectorRepository
* @var \T3o\Election\Domain\Repository\ElectorRepository
* @inject
*/
protected $electorRepository = null;
......
<?php
namespace TYPO3\Election\Controller;
namespace T3o\Election\Controller;
/*
* This file is part of the TYPO3 CMS project.
......@@ -14,8 +14,8 @@ namespace TYPO3\Election\Controller;
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\Election\Domain\Model\Nominee;
use TYPO3\Election\Property\TypeConverter\UploadedFileReferenceConverter;
use T3o\Election\Domain\Model\Nominee;
use T3o\Election\Property\TypeConverter\UploadedFileReferenceConverter;
/**
* Class BeConfigurationController
......@@ -32,7 +32,7 @@ class BeNomineeController extends AbstractProtectedBeController
const ACTION_SHOW = 'show';
/**
* @var \TYPO3\Election\Domain\Repository\NomineeRepository
* @var \T3o\Election\Domain\Repository\NomineeRepository
* @inject
*/
protected $nomineeRepository = null;
......
<?php
namespace TYPO3\Election\Controller;
namespace T3o\Election\Controller;
/*
* This file is part of the TYPO3 CMS project.
......@@ -25,7 +25,7 @@ class FeDashboardController extends ActionController
const ACTION_INDEX = 'index';
/**
* @var \TYPO3\Election\Domain\Repository\ElectionRepository
* @var \T3o\Election\Domain\Repository\ElectionRepository
* @inject
*/
protected $electionRepository = null;
......
<?php
namespace TYPO3\Election\Controller;
namespace T3o\Election\Controller;
/*
* This file is part of the TYPO3 CMS project.
......@@ -18,10 +18,10 @@ namespace TYPO3\Election\Controller;
use TYPO3\CMS\Core\Messaging\AbstractMessage;
use TYPO3\CMS\Extbase\Mvc\Controller\ActionController;
use TYPO3\CMS\Extbase\Utility\LocalizationUtility;
use TYPO3\Election\Domain\Model\Dto\ElectionVoting;
use TYPO3\Election\Domain\Model\ElectionInvitation;
use TYPO3\Election\Domain\Model\ElectionVote;
use TYPO3\Election\Domain\Model\Election;
use T3o\Election\Domain\Model\Dto\ElectionVoting;
use T3o\Election\Domain\Model\ElectionInvitation;
use T3o\Election\Domain\Model\ElectionVote;
use T3o\Election\Domain\Model\Election;
/**
* Class FeElectionController
......@@ -40,13 +40,13 @@ class FeElectionController extends ActionController
protected $hashService = null;
/**
* @var \TYPO3\Election\Domain\Repository\ElectionVoteRepository
* @var \T3o\Election\Domain\Repository\ElectionVoteRepository
* @inject
*/
protected $electionVoteRepository = null;
/**
* @var \TYPO3\Election\Domain\Repository\ElectionInvitationRepository
* @var \T3o\Election\Domain\Repository\ElectionInvitationRepository
* @inject
*/
protected $electionInvitationRepository = null;
......@@ -130,7 +130,7 @@ class FeElectionController extends ActionController
/**
* @param ElectionVoting $electionVoting
* @validate $electionVoting \TYPO3\Election\Domain\Validator\ElectionVotingValidator
* @validate $electionVoting \T3o\Election\Domain\Validator\ElectionVotingValidator
*/
public function submitVoteAction(ElectionVoting $electionVoting)
{
......
<?php
namespace TYPO3\Election\Domain\Model;
namespace T3o\Election\Domain\Model;
/*
* This file is part of the TYPO3 CMS project.
......
<?php
namespace TYPO3\Election\Domain\Model;
namespace T3o\Election\Domain\Model;
/*
* This file is part of the TYPO3 CMS project.
......
<?php
namespace TYPO3\Election\Domain\Model\Cato;
namespace T3o\Election\Domain\Model\Cato;
/**
* Unused by now, will be used for actions done per imported elector
......
<?php
namespace TYPO3\Election\Domain\Model;
namespace T3o\Election\Domain\Model;
/*
* This file is part of the TYPO3 CMS project.
......
<?php
namespace TYPO3\Election\Domain\Model\Dto;
namespace T3o\Election\Domain\Model\Dto;
/*
* This file is part of the TYPO3 CMS project.
......@@ -14,7 +14,7 @@ namespace TYPO3\Election\Domain\Model\Dto;
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\Election\Domain\Model\AbstractEntity;
use T3o\Election\Domain\Model\AbstractEntity;
/**
* Class ElectionVoting
......@@ -22,12 +22,12 @@ use TYPO3\Election\Domain\Model\AbstractEntity;
class ElectionVoting extends AbstractEntity
{
/**
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\Election\Domain\Model\Nominee>
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\T3o\Election\Domain\Model\Nominee>
*/
protected $nominees;
/**
* @var \TYPO3\Election\Domain\Model\ElectionInvitation
* @var \T3o\Election\Domain\Model\ElectionInvitation
*/
protected $electionInvitation;
......@@ -48,7 +48,7 @@ class ElectionVoting extends AbstractEntity
}
/**
* @return \TYPO3\Election\Domain\Model\ElectionInvitation
* @return \T3o\Election\Domain\Model\ElectionInvitation
*/
public function getElectionInvitation()
{
......@@ -56,7 +56,7 @@ class ElectionVoting extends AbstractEntity
}
/**
* @param \TYPO3\Election\Domain\Model\ElectionInvitation $electionInvitation
* @param \T3o\Election\Domain\Model\ElectionInvitation $electionInvitation
*/
public function setElectionInvitation($electionInvitation)
{
......
<?php
namespace TYPO3\Election\Domain\Model\Dto;
namespace T3o\Election\Domain\Model\Dto;
/*
* This file is part of the TYPO3 CMS project.
......@@ -20,12 +20,12 @@ namespace TYPO3\Election\Domain\Model\Dto;
class ElectorImport
{
/**
* @var \TYPO3\Election\Domain\Model\Electorate
* @var \T3o\Election\Domain\Model\Electorate
*/
protected $chosenElectorate = null;
/**
* @var \TYPO3\Election\Domain\Model\Electorate[]
* @var \T3o\Election\Domain\Model\Electorate[]
*/
protected $availableElectorates = [];
......@@ -37,11 +37,11 @@ class ElectorImport
/**
* ElectorImport constructor.
*
* @param \TYPO3\Election\Domain\Model\Electorate|null $chosenElectorate
* @param \TYPO3\Election\Domain\Model\Electorate[] $availableElectorates
* @param \T3o\Election\Domain\Model\Electorate|null $chosenElectorate
* @param \T3o\Election\Domain\Model\Electorate[] $availableElectorates
*/
public function __construct(
\TYPO3\Election\Domain\Model\Electorate $chosenElectorate = null,
\T3o\Election\Domain\Model\Electorate $chosenElectorate = null,
$availableElectorates = null
) {
$this->chosenElectorate = $chosenElectorate;
......@@ -49,7 +49,7 @@ class ElectorImport
}
/**
* @return \TYPO3\Election\Domain\Model\Electorate
* @return \T3o\Election\Domain\Model\Electorate
*/
public function getChosenElectorate()
{
......@@ -57,7 +57,7 @@ class ElectorImport
}
/**
* @param \TYPO3\Election\Domain\Model\Electorate $chosenElectorate
* @param \T3o\Election\Domain\Model\Electorate $chosenElectorate
*/
public function setChosenElectorate($chosenElectorate)
{
......@@ -65,7 +65,7 @@ class ElectorImport
}
/**
* @return \TYPO3\Election\Domain\Model\Electorate[]
* @return \T3o\Election\Domain\Model\Electorate[]
*/
public function getAvailableElectorates()
{
......@@ -73,7 +73,7 @@ class ElectorImport
}
/**
* @param \TYPO3\Election\Domain\Model\Electorate[] $availableElectorates
* @param \T3o\Election\Domain\Model\Electorate[] $availableElectorates
*/
public function setAvailableElectorates($availableElectorates)
{
......
<?php
namespace TYPO3\Election\Domain\Model;
namespace T3o\Election\Domain\Model;
/*
* This file is part of the TYPO3 CMS project.
......@@ -41,12 +41,12 @@ class Election extends AbstractEntity
protected $endDate = null;
/**
* @var \TYPO3\Election\Domain\Model\Electorate
* @var \T3o\Election\Domain\Model\Electorate
*/
protected $electorate = null;
/**
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\Election\Domain\Model\Nominee>
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\T3o\Election\Domain\Model\Nominee>
*/
protected $nominees = null;
......@@ -56,7 +56,7 @@ class Election extends AbstractEntity
protected $numberOfVotes = 0;
/**
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\Election\Domain\Model\ElectionVote>
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\T3o\Election\Domain\Model\ElectionVote>
*/
protected $electionVotes = null;
......@@ -125,7 +125,7 @@ class Election extends AbstractEntity
}
/**
* @return \TYPO3\Election\Domain\Model\Electorate
* @return \T3o\Election\Domain\Model\Electorate
*/
public function getElectorate()
{
......
<?php
namespace TYPO3\Election\Domain\Model;
namespace T3o\Election\Domain\Model;
/*
* This file is part of the TYPO3 CMS project.
......@@ -20,8 +20,8 @@ use TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder;
use TYPO3\CMS\Extbase\Object\ObjectManager;
use TYPO3\CMS\Extbase\Security\Cryptography\HashService;
use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
use TYPO3\Election\Controller\FeElectionController;
use TYPO3\Election\Domain\Repository\ConfigurationRepository;
use T3o\Election\Controller\FeElectionController;
use T3o\Election\Domain\Repository\ConfigurationRepository;
/**
* Class ElectionCircular
......@@ -39,7 +39,7 @@ class ElectionCircular extends AbstractEntity
protected $body = '';
/**
* @var \TYPO3\Election\Domain\Model\Election
* @var \T3o\Election\Domain\Model\Election
*/
protected $election = null;
......
<?php
namespace TYPO3\Election\Domain\Model;
namespace T3o\Election\Domain\Model;
/*
* This file is part of the TYPO3 CMS project.
......@@ -25,12 +25,12 @@ class ElectionInvitation extends AbstractEntity
protected $secret = '';
/**
* @var \TYPO3\Election\Domain\Model\ElectionCircular
* @var \T3o\Election\Domain\Model\ElectionCircular
*/
protected $electionCircular = null;
/**
* @var \TYPO3\Election\Domain\Model\Elector
* @var \T3o\Election\Domain\Model\Elector
*/
protected $elector = null;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment