PHP Class Neos\Media\Domain\Model\Video

Inheritance: extends Asset
Afficher le fichier Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$height integer
$width integer

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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

getHeight() public méthode

Height of the video in pixels. If the height cannot be determined, -1 is returned.
public getHeight ( ) : integer
Résultat integer

getWidth() public méthode

Width of the video in pixels. If the width cannot be determined, -1 is returned.
public getWidth ( ) : integer
Résultat integer

Property Details

$height protected_oe property

protected int $height
Résultat integer

$width protected_oe property

protected int $width
Résultat integer