Compare commits
No commits in common. "53ac1436db5c171913a5d9678e32e7cb6e535efd" and "24f25388ce131968e2c46b62e1a2d5701da69aeb" have entirely different histories.
53ac1436db
...
24f25388ce
@ -12,8 +12,8 @@ namespace Cjel\TemplatesAide\Controller;
|
|||||||
*
|
*
|
||||||
***/
|
***/
|
||||||
|
|
||||||
use Cjel\TemplatesAide\Traits\FormatResultTrait;
|
|
||||||
use Cjel\TemplatesAide\Traits\ValidationTrait;
|
use Cjel\TemplatesAide\Traits\ValidationTrait;
|
||||||
|
use Cjel\TemplatesAide\Traits\FormatResultTrait;
|
||||||
use Psr\Http\Message\ResponseInterface;
|
use Psr\Http\Message\ResponseInterface;
|
||||||
use Psr\Http\Message\ServerRequestInterface;
|
use Psr\Http\Message\ServerRequestInterface;
|
||||||
use TYPO3\CMS\Core\Cache\CacheManager;
|
use TYPO3\CMS\Core\Cache\CacheManager;
|
||||||
@ -23,8 +23,6 @@ use TYPO3\CMS\Core\Log\LogManager;
|
|||||||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||||
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
|
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
|
||||||
use TYPO3\CMS\Extbase\Object\ObjectManager;
|
use TYPO3\CMS\Extbase\Object\ObjectManager;
|
||||||
use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper;
|
|
||||||
use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager;
|
|
||||||
use TYPO3\CMS\Extbase\Reflection\ClassSchema;
|
use TYPO3\CMS\Extbase\Reflection\ClassSchema;
|
||||||
use TYPO3\CMS\Extbase\Reflection\ReflectionService;
|
use TYPO3\CMS\Extbase\Reflection\ReflectionService;
|
||||||
use TYPO3\CMS\Frontend\Plugin\AbstractPlugin;
|
use TYPO3\CMS\Frontend\Plugin\AbstractPlugin;
|
||||||
@ -259,17 +257,6 @@ class AbstractEIDController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public function persistAll()
|
|
||||||
{
|
|
||||||
($this->objectManager->get(
|
|
||||||
PersistenceManager::class
|
|
||||||
))->persistAll();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* return function
|
* return function
|
||||||
*
|
*
|
||||||
|
@ -123,7 +123,6 @@ trait ValidationTrait
|
|||||||
{
|
{
|
||||||
$validator = new Validator();
|
$validator = new Validator();
|
||||||
$input = ArrayUtility::removeEmptyStrings($input);
|
$input = ArrayUtility::removeEmptyStrings($input);
|
||||||
unset($input['eID']);
|
|
||||||
//@TODO make optional when usiing rest api
|
//@TODO make optional when usiing rest api
|
||||||
//array_walk_recursive(
|
//array_walk_recursive(
|
||||||
// $input,
|
// $input,
|
||||||
|
@ -54,16 +54,4 @@ class DatabaseUtility
|
|||||||
->createQueryBuilder();
|
->createQueryBuilder();
|
||||||
return $queryBuilder;
|
return $queryBuilder;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets a connection for a table and returns it
|
|
||||||
*
|
|
||||||
* @param $tablename string table name
|
|
||||||
* @return object connection
|
|
||||||
*/
|
|
||||||
public static function getConnectionFromTableName($tableName)
|
|
||||||
{
|
|
||||||
return GeneralUtility::makeInstance(ConnectionPool::class)
|
|
||||||
->getConnectionForTable($tableName);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user