PHP 클래스 rex_media, redaxo

상속: use trait rex_instance_pool_trait
파일 보기 프로젝트 열기: redaxo/redaxo 1 사용 예제들

공개 메소드들

메소드 설명
fileExists ( )
get ( string $name ) : null | self
getCategory ( ) : rex_media_category
getCategoryId ( ) : integer
getCreateDate ( ) : integer
getCreateUser ( ) : string
getDocTypes ( ) allowed filetypes
getExtension ( ) : string
getFileName ( ) : string
getFormattedSize ( ) : string
getHeight ( ) : integer
getId ( ) : integer
getImageTypes ( ) allowed image upload types
getOriginalFileName ( ) : string
getSize ( ) : integer
getTitle ( ) : string
getType ( ) : string
getUpdateDate ( ) : integer
getUpdateUser ( ) : string
getUrl ( ) : string
getValue ( $value )
getWidth ( ) : integer
hasValue ( $value )
isDocType ( $type )
isImage ( ) : boolean
isImageType ( $extension )
isPermitted ( ) : boolean Returns whether the element is permitted.
toImage ( array $params = [] ) : string
toLink ( string $attributes = '' ) : string

메소드 상세

fileExists() 공개 메소드

public fileExists ( )

get() 공개 정적인 메소드

public static get ( string $name ) : null | self
$name string
리턴 null | self

getCategory() 공개 메소드

public getCategory ( ) : rex_media_category
리턴 rex_media_category

getCategoryId() 공개 메소드

public getCategoryId ( ) : integer
리턴 integer

getCreateDate() 공개 메소드

public getCreateDate ( ) : integer
리턴 integer

getCreateUser() 공개 메소드

public getCreateUser ( ) : string
리턴 string

getDocTypes() 공개 정적인 메소드

allowed filetypes
public static getDocTypes ( )

getExtension() 공개 메소드

public getExtension ( ) : string
리턴 string

getFileName() 공개 메소드

public getFileName ( ) : string
리턴 string

getFormattedSize() 공개 메소드

public getFormattedSize ( ) : string
리턴 string

getHeight() 공개 메소드

public getHeight ( ) : integer
리턴 integer

getId() 공개 메소드

public getId ( ) : integer
리턴 integer

getImageTypes() 공개 정적인 메소드

allowed image upload types
public static getImageTypes ( )

getOriginalFileName() 공개 메소드

public getOriginalFileName ( ) : string
리턴 string

getSize() 공개 메소드

public getSize ( ) : integer
리턴 integer

getTitle() 공개 메소드

public getTitle ( ) : string
리턴 string

getType() 공개 메소드

public getType ( ) : string
리턴 string

getUpdateDate() 공개 메소드

public getUpdateDate ( ) : integer
리턴 integer

getUpdateUser() 공개 메소드

public getUpdateUser ( ) : string
리턴 string

getUrl() 공개 메소드

public getUrl ( ) : string
리턴 string

getValue() 공개 메소드

public getValue ( $value )

getWidth() 공개 메소드

public getWidth ( ) : integer
리턴 integer

hasValue() 공개 메소드

public hasValue ( $value )

isDocType() 공개 정적인 메소드

public static isDocType ( $type )

isImage() 공개 메소드

public isImage ( ) : boolean
리턴 boolean

isImageType() 공개 정적인 메소드

public static isImageType ( $extension )

isPermitted() 공개 메소드

Returns whether the element is permitted.
public isPermitted ( ) : boolean
리턴 boolean

toImage() 공개 메소드

public toImage ( array $params = [] ) : string
$params array
리턴 string