interface ThemeEntityInterface implements Arrayable, Jsonable

ThemeEntity는 하나의 테마에 대한 정보를 가지고 있는 클래스이다.

XpressEngine에 등록된 테마들의 정보를 ThemeEntity로 생성하여 처리한다.

Methods

string
getId()

get theme id

mixed
getTitle()

get theme title

string
getDescription()

get theme's description

mixed
getScreenshot()

get screenshot of theme

bool
supportDesktop()

테마가 desktop 버전을 지원하는지 조사한다.

bool
supportMobile()

테마가 mobile 버전을 지원하는지 조사한다.

string
render()

Get the evaluated contents of the object.

View|void
renderSetting(ConfigEntity $config = null)

return editConfigView

array
resolveSetting(array $config)

updateConfig

null
setting(ConfigEntity $config = null)

get and set config

Details

at line 39
string getId()

get theme id

Return Value

string

at line 46
mixed getTitle()

get theme title

Return Value

mixed

at line 53
string getDescription()

get theme's description

Return Value

string

at line 60
mixed getScreenshot()

get screenshot of theme

Return Value

mixed

at line 67
bool supportDesktop()

테마가 desktop 버전을 지원하는지 조사한다.

Return Value

bool desktop 버전을 지원할 경우 true

at line 74
bool supportMobile()

테마가 mobile 버전을 지원하는지 조사한다.

Return Value

bool mobile 버전을 지원할 경우 true

at line 81
string render()

Get the evaluated contents of the object.

Return Value

string

at line 90
View|void renderSetting(ConfigEntity $config = null)

return editConfigView

Parameters

ConfigEntity $config config data

Return Value

View|void

at line 99
array resolveSetting(array $config)

updateConfig

Parameters

array $config pure config data

Return Value

array

at line 108
null setting(ConfigEntity $config = null)

get and set config

Parameters

ConfigEntity $config config data

Return Value

null