TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Frontend\Hooks\MediaItemHooks Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Hooks\MediaItemHooks:
TYPO3\CMS\Core\SingletonInterface tx_cms_mediaItems

Public Member Functions

 customMediaRenderTypes (&$params, $conf)
 
 customMediaParams (&$params, $conf)
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Adds extra fields into 'media' flexform

Definition at line 20 of file MediaItemHooks.php.

Member Function Documentation

◆ customMediaParams()

TYPO3\CMS\Frontend\Hooks\MediaItemHooks::customMediaParams ( $params,
  $conf 
)

Load extra predefined media params if they exist

Parameters
array$paramsExisting types by reference
array$confConfig array
Returns
void

Definition at line 45 of file MediaItemHooks.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\getUserObj().

◆ customMediaRenderTypes()

TYPO3\CMS\Frontend\Hooks\MediaItemHooks::customMediaRenderTypes ( $params,
  $conf 
)

Load extra render types if they exist

Parameters
array$paramsExisting types by reference
array$confConfig array
Returns
void

Definition at line 29 of file MediaItemHooks.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\getUserObj().