TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Frontend\MediaWizard\MediaWizardProviderInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Frontend\MediaWizard\MediaWizardProviderInterface:
tslib_mediaWizardProvider TYPO3\CMS\Frontend\MediaWizard\MediaWizardProvider tslib_mediaWizardCoreProvider

Public Member Functions

 canHandle ($url)
 
 rewriteUrl ($url)
 

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! Interface for classes which hook into tslib_mediawizard adding additional media wizard providers

Author
Ernesto Baschny ernst.nosp@m.@cro.nosp@m.n-it..nosp@m.de

Definition at line 22 of file MediaWizardProviderInterface.php.

Member Function Documentation

◆ canHandle()

TYPO3\CMS\Frontend\MediaWizard\MediaWizardProviderInterface::canHandle (   $url)

Tells the calling party if we can handle the URL passed to the constructor

Parameters
string$urlURL to be handled
Returns
boolean

Implemented in TYPO3\CMS\Frontend\MediaWizard\MediaWizardProvider.

◆ rewriteUrl()

TYPO3\CMS\Frontend\MediaWizard\MediaWizardProviderInterface::rewriteUrl (   $url)

Rewrites a media provider URL into a canonized form that can be embedded

Parameters
string$urlURL to be handled
Returns
string Canonized URL that can be used to embed

Implemented in TYPO3\CMS\Frontend\MediaWizard\MediaWizardProvider.