PHP 클래스 Craft\Minimee_SettingsModel

상속: extends craft\BaseModel, implements craft\Minimee_ISettingsModel
파일 보기 프로젝트 열기: johndwells/craft.minimee 1 사용 예제들

공개 메소드들

메소드 설명
__toString ( ) : string
defineAttributes ( ) : Array
forceTrailingSlash ( String $string ) : String
getAttribute ( String $name, Bool $flattenValue = false ) : String | Bool Inject our model attribute accessors.
getBaseUrl ( ) : String
getCachePath ( ) : false | string
getCacheUrl ( ) : false | string
getCssPrependUrl ( ) : false | string
getCssReturnTemplate ( )
getFilesystemPath ( ) : String
getJsReturnTemplate ( )
getReturnType ( )
prepSettings ( $settings )
useResourceCache ( ) : Bool
validate ( Array $attributes = null, Bool $clearErrors = true ) : Bool Add custom validation rules to routine.
validateCachePathAndUrl ( ) : boolean | null Validate that cachePath and cacheUrl are both empty or non-empty.

메소드 상세

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

defineAttributes() 공개 메소드

public defineAttributes ( ) : Array
리턴 Array

forceTrailingSlash() 공개 메소드

public forceTrailingSlash ( String $string ) : String
$string String
리턴 String

getAttribute() 공개 메소드

Inject our model attribute accessors.
public getAttribute ( String $name, Bool $flattenValue = false ) : String | Bool
$name String
$flattenValue Bool
리턴 String | Bool

getBaseUrl() 공개 메소드

public getBaseUrl ( ) : String
리턴 String

getCachePath() 공개 메소드

public getCachePath ( ) : false | string
리턴 false | string

getCacheUrl() 공개 메소드

public getCacheUrl ( ) : false | string
리턴 false | string

getCssPrependUrl() 공개 메소드

public getCssPrependUrl ( ) : false | string
리턴 false | string

getCssReturnTemplate() 공개 메소드

getFilesystemPath() 공개 메소드

public getFilesystemPath ( ) : String
리턴 String

getJsReturnTemplate() 공개 메소드

public getJsReturnTemplate ( )

getReturnType() 공개 메소드

public getReturnType ( )

prepSettings() 공개 메소드

public prepSettings ( $settings )

useResourceCache() 공개 메소드

public useResourceCache ( ) : Bool
리턴 Bool

validate() 공개 메소드

Add custom validation rules to routine.
public validate ( Array $attributes = null, Bool $clearErrors = true ) : Bool
$attributes Array
$clearErrors Bool
리턴 Bool

validateCachePathAndUrl() 공개 메소드

Validate that cachePath and cacheUrl are both empty or non-empty.
public validateCachePathAndUrl ( ) : boolean | null
리턴 boolean | null