| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class GetDepositLicenseTextViewHelper extends \TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * documentTypeRepository |
||
| 21 | * |
||
| 22 | * @var \EWW\Dpf\Domain\Repository\DepositLicenseRepository |
||
| 23 | * @TYPO3\CMS\Extbase\Annotation\Inject |
||
| 24 | */ |
||
| 25 | protected $depositLicenseRepository = null; |
||
| 26 | |||
| 27 | public function initializeArguments() |
||
| 28 | { |
||
| 29 | parent::initializeArguments(); |
||
| 30 | |||
| 31 | $this->registerArgument('uri', 'string', '', true); |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Gets the deposit license text for the given uri/urn |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function render() |
||
| 51 | } |
||
| 52 | } |
||
| 53 |