PHP Class Essence\Provider\Presenter\Youtube

Inheritance: extends Essence\Provider\Presenter
Afficher le fichier Open project: benjamminf/craft-embedded-assets Class Usage Examples

Protected Properties

Свойство Type Description
$_format string Thumbnail format.
$_names array Replacements for the thumbnail file name.
$_property string Property in which the thumbnail URL is stored.

Méthodes publiques

Méthode Description
__construct ( string $format, string $property = 'thumbnailUrl' ) Constructor.
present ( Media $Media ) {@inheritDoc}

Method Details

__construct() public méthode

Constructor.
public __construct ( string $format, string $property = 'thumbnailUrl' )
$format string Thumbnail format.
$property string Thumbnail property.

present() public méthode

{@inheritDoc}
public present ( Media $Media )
$Media Essence\Media

Property Details

$_format protected_oe property

Thumbnail format.
protected string $_format
Résultat string

$_names protected_oe property

Replacements for the thumbnail file name.
protected array $_names
Résultat array

$_property protected_oe property

Property in which the thumbnail URL is stored.
protected string $_property
Résultat string