interface ComponentInterface

플러그인에서 등록할 수 있는 XpressEngine의 구성요소(Component)들이 구현해야 하는 인터페이스

Methods

static string
getId()

get component's id

static void
setId(string $id)

set component's id

static void
setComponentInfo(string $key, mixed $value = null)

set component's information

static mixed
getComponentInfo(string $key = null)

get component's information

static void
boot()

boot

static null|string
getSettingsURI()

return settings settings uri

Details

at line 34
static string getId()

get component's id

Return Value

string

at line 43
static void setId(string $id)

set component's id

Parameters

string $id component id

Return Value

void

at line 53
static void setComponentInfo(string $key, mixed $value = null)

set component's information

Parameters

string $key 추가하거나 수정할 information의 key
mixed $value 추가하거나 수정할 information의 value

Return Value

void

at line 62
static mixed getComponentInfo(string $key = null)

get component's information

Parameters

string $key 검색할 information의 키

Return Value

mixed

at line 69
static void boot()

boot

Return Value

void

at line 76
static null|string getSettingsURI()

return settings settings uri

Return Value

null|string