PHP Class FluidTYPO3\Vhs\ViewHelpers\Media\AbstractMediaViewHelper

Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedViewHelper
显示文件 Open project: fluidtypo3/vhs Class Usage Examples

Protected Properties

Property Type Description
$mediaSource string

Public Methods

Method Description
getSourcesFromArgument ( ) : array Returns an array of sources resolved from src argument which can be either an array, CSV or implement Traversable to be consumed by ViewHelpers handling multiple sources.
initializeArguments ( ) : void Initialize arguments.
preprocessSourceUri ( string $src ) : string Turns a relative source URI into an absolute URL if required

Method Details

getSourcesFromArgument() public method

Returns an array of sources resolved from src argument which can be either an array, CSV or implement Traversable to be consumed by ViewHelpers handling multiple sources.
public getSourcesFromArgument ( ) : array
return array

initializeArguments() public method

Initialize arguments.
public initializeArguments ( ) : void
return void

preprocessSourceUri() public method

Turns a relative source URI into an absolute URL if required
public preprocessSourceUri ( string $src ) : string
$src string
return string

Property Details

$mediaSource protected_oe property

protected string $mediaSource
return string