SkinEntity
class SkinEntity implements Arrayable, Jsonable
SkinEntity는 하나의 스킨에 대한 정보를 가지고 있는 클래스이다.
SkinaHandler는 등록된 스킨들의 정보를 처리할 때, SkinEntity로 생성하여 사용한다.
Properties
protected string | $id | ||
protected AbstractSkin | $class | ||
protected AbstractSkin | $object | ||
private array | $config |
Methods
SkinEntity constructor.
get skin id
get class name of skin
get skin title
get skin's description
get screenshot of skin
get skin setting view
get skin setting view
updateConfig
get and set config
스킨이 desktop 버전을 지원하는지 조사한다.
스킨이 desktop 버전만을 지원하는지 조사한다.
스킨이 mobile 버전을 지원하는지 조사한다.
스킨이 mobile 버전만을 지원하는지 조사한다.
get object of skin
SkinEntity에서 제공하지 않는 메소드일 경우 이 entity가 저장하고 있는 skin의 method를 호출한다.
Convert the object to its JSON representation.
Get the instance as an array.
No description
No description
Details
at line 64
__construct(string $id, string $class, array $config = null)
SkinEntity constructor.
at line 76
string
getId()
get skin id
at line 86
string
getClass()
get class name of skin
at line 96
mixed
getTitle()
get skin title
at line 107
string
getDescription()
get skin's description
at line 118
mixed
getScreenshot()
get screenshot of skin
at line 133
string|Renderable
getSettingView(array $config = array())
get skin setting view
at line 145
string|Renderable
renderSetting(array $args = array())
get skin setting view
at line 157
array
resolveSetting(array $config)
updateConfig
at line 169
null
setting(array $config = null)
get and set config
at line 179
bool
supportDesktop()
스킨이 desktop 버전을 지원하는지 조사한다.
at line 190
bool
supportDesktopOnly()
스킨이 desktop 버전만을 지원하는지 조사한다.
at line 201
bool
supportMobile()
스킨이 mobile 버전을 지원하는지 조사한다.
at line 212
bool
supportMobileOnly()
스킨이 mobile 버전만을 지원하는지 조사한다.
at line 223
AbstractSkin
getObject()
get object of skin
at line 241
mixed
__call(string $method, array $arguments)
SkinEntity에서 제공하지 않는 메소드일 경우 이 entity가 저장하고 있는 skin의 method를 호출한다.
at line 253
string
toJson(int $options)
Convert the object to its JSON representation.
at line 263
array
toArray()
Get the instance as an array.