PHP 클래스 Jarves\AssetHandler\AssetInfo

파일 보기 프로젝트 열기: jarves/jarves 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$additionalData array Additional information
$allowCompression boolean
$content string
$contentType string Mimetype
$originalPath string
$path string
$priority integer

공개 메소드들

메소드 설명
get ( string $key ) : mixed
getAllowCompression ( ) : boolean
getContent ( ) : string
getContentType ( ) : string
getOriginalPath ( ) : string
getPath ( ) : string
getPriority ( ) : integer
isCompressionAllowed ( )
isJavaScript ( ) : boolean Returns true if this is a javascript asset.
isScss ( ) : boolean Returns true if this is a stylesheet asset.
isStylesheet ( ) : boolean Returns true if this is a stylesheet asset.
isTypeScript ( ) : boolean Returns true if this is a typescript asset.
set ( string $key, $data )
setAllowCompression ( boolean $allowCompression )
setContent ( string $content )
setContentType ( string $contentType )
setOriginalPath ( string $originalFile )
setPath ( string $file )
setPriority ( integer $priority )

메소드 상세

get() 공개 메소드

public get ( string $key ) : mixed
$key string
리턴 mixed

getAllowCompression() 공개 메소드

public getAllowCompression ( ) : boolean
리턴 boolean

getContent() 공개 메소드

public getContent ( ) : string
리턴 string

getContentType() 공개 메소드

public getContentType ( ) : string
리턴 string

getOriginalPath() 공개 메소드

public getOriginalPath ( ) : string
리턴 string

getPath() 공개 메소드

public getPath ( ) : string
리턴 string

getPriority() 공개 메소드

public getPriority ( ) : integer
리턴 integer

isCompressionAllowed() 공개 메소드

isJavaScript() 공개 메소드

Returns true if this is a javascript asset.
public isJavaScript ( ) : boolean
리턴 boolean

isScss() 공개 메소드

Returns true if this is a stylesheet asset.
public isScss ( ) : boolean
리턴 boolean

isStylesheet() 공개 메소드

Returns true if this is a stylesheet asset.
public isStylesheet ( ) : boolean
리턴 boolean

isTypeScript() 공개 메소드

Returns true if this is a typescript asset.
public isTypeScript ( ) : boolean
리턴 boolean

set() 공개 메소드

public set ( string $key, $data )
$key string
$data

setAllowCompression() 공개 메소드

public setAllowCompression ( boolean $allowCompression )
$allowCompression boolean

setContent() 공개 메소드

public setContent ( string $content )
$content string

setContentType() 공개 메소드

public setContentType ( string $contentType )
$contentType string

setOriginalPath() 공개 메소드

public setOriginalPath ( string $originalFile )
$originalFile string

setPath() 공개 메소드

public setPath ( string $file )
$file string

setPriority() 공개 메소드

public setPriority ( integer $priority )
$priority integer

프로퍼티 상세

$additionalData 보호되어 있는 프로퍼티

Additional information
protected array $additionalData
리턴 array

$allowCompression 보호되어 있는 프로퍼티

protected bool $allowCompression
리턴 boolean

$content 보호되어 있는 프로퍼티

protected string $content
리턴 string

$contentType 보호되어 있는 프로퍼티

Mimetype
protected string $contentType
리턴 string

$originalPath 보호되어 있는 프로퍼티

protected string $originalPath
리턴 string

$path 보호되어 있는 프로퍼티

protected string $path
리턴 string

$priority 보호되어 있는 프로퍼티

protected int $priority
리턴 integer