provide some phpDoc information
This commit is contained in:
parent
b925bf6766
commit
6b7c277392
|
@ -20,6 +20,14 @@ use Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface;
|
|||
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
||||
use TYPO3\CMS\Core\Database\ConnectionPool;
|
||||
|
||||
/**
|
||||
* Provider class for additional functions of the ExpressionLanguage.
|
||||
*
|
||||
* @author Alexander Bigga <alexander.bigga@slub-dresden.de>
|
||||
* @package TYPO3
|
||||
* @subpackage dlf
|
||||
* @access public
|
||||
*/
|
||||
class DocumentTypeFunctionProvider implements ExpressionFunctionProviderInterface
|
||||
{
|
||||
/**
|
||||
|
@ -41,6 +49,11 @@ class DocumentTypeFunctionProvider implements ExpressionFunctionProviderInterfac
|
|||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Shortcut function to access field values
|
||||
*
|
||||
* @return \Symfony\Component\ExpressionLanguage\ExpressionFunction
|
||||
*/
|
||||
protected function getDocumentTypeFunction(): ExpressionFunction
|
||||
{
|
||||
return new ExpressionFunction(
|
||||
|
|
|
@ -15,6 +15,14 @@ namespace Kitodo\Dlf\ExpressionLanguage;
|
|||
use TYPO3\CMS\Core\ExpressionLanguage\AbstractProvider;
|
||||
use TYPO3\CMS\Core\ExpressionLanguage\FunctionsProvider\Typo3ConditionFunctionsProvider;
|
||||
|
||||
/**
|
||||
* Wrapper class to provide variables and functions for the ExpressionLanguage.
|
||||
*
|
||||
* @author Alexander Bigga <alexander.bigga@slub-dresden.de>
|
||||
* @package TYPO3
|
||||
* @subpackage dlf
|
||||
* @access public
|
||||
*/
|
||||
class DocumentTypeProvider extends AbstractProvider
|
||||
{
|
||||
public function __construct()
|
||||
|
|
Loading…
Reference in New Issue