PHP Класс Neos\Media\Domain\Model\Video

Наследование: extends Asset
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$height integer
$width integer

Открытые методы

Метод Описание
__construct ( PersistentResource $resource ) Constructs the object and sets default values for width and height
getHeight ( ) : integer Height of the video in pixels. If the height cannot be determined, -1 is returned.
getWidth ( ) : integer Width of the video in pixels. If the width cannot be determined, -1 is returned.

Описание методов

__construct() публичный Метод

Constructs the object and sets default values for width and height
public __construct ( PersistentResource $resource )
$resource Neos\Flow\ResourceManagement\PersistentResource

getHeight() публичный Метод

Height of the video in pixels. If the height cannot be determined, -1 is returned.
public getHeight ( ) : integer
Результат integer

getWidth() публичный Метод

Width of the video in pixels. If the width cannot be determined, -1 is returned.
public getWidth ( ) : integer
Результат integer

Описание свойств

$height защищенное свойство

protected int $height
Результат integer

$width защищенное свойство

protected int $width
Результат integer