PHP 클래스 Neos\Media\Domain\Model\Video

상속: extends Asset
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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