PHP Interface Xpressengine\Theme\ThemeEntityInterface

XpressEngine에 등록된 테마들의 정보를 ThemeEntity로 생성하여 처리한다.
Author: XE Developers ([email protected])
Inheritance: extends Illuminate\Contracts\Support\Arrayable, extends Illuminate\Contracts\Support\Jsonable
Show file Open project: xpressengine/xpressengine

Public Methods

Method Description
getDescription ( ) : string get theme's description
getId ( ) : string get theme id
getScreenshot ( ) : mixed get screenshot of theme
getTitle ( ) : mixed get theme title
render ( ) : string Get the evaluated contents of the object.
renderSetting ( ConfigEntity $config = null ) : Illuminate\Contracts\View\View | void return editConfigView
resolveSetting ( array $config ) : array updateConfig
setting ( ConfigEntity $config = null ) : null get and set config
supportDesktop ( ) : boolean 테마가 desktop 버전을 지원하는지 조사한다.
supportMobile ( ) : boolean 테마가 mobile 버전을 지원하는지 조사한다.

Method Details

getDescription() public method

get theme's description
public getDescription ( ) : string
return string

getId() public method

get theme id
public getId ( ) : string
return string

getScreenshot() public method

get screenshot of theme
public getScreenshot ( ) : mixed
return mixed

getTitle() public method

get theme title
public getTitle ( ) : mixed
return mixed

render() public method

Get the evaluated contents of the object.
public render ( ) : string
return string

renderSetting() public method

return editConfigView
public renderSetting ( ConfigEntity $config = null ) : Illuminate\Contracts\View\View | void
$config Xpressengine\Config\ConfigEntity config data
return Illuminate\Contracts\View\View | void

resolveSetting() public method

updateConfig
public resolveSetting ( array $config ) : array
$config array pure config data
return array

setting() public method

get and set config
public setting ( ConfigEntity $config = null ) : null
$config Xpressengine\Config\ConfigEntity config data
return null

supportDesktop() public method

테마가 desktop 버전을 지원하는지 조사한다.
public supportDesktop ( ) : boolean
return boolean desktop 버전을 지원할 경우 true

supportMobile() public method

테마가 mobile 버전을 지원하는지 조사한다.
public supportMobile ( ) : boolean
return boolean mobile 버전을 지원할 경우 true