PHP Interface Xpressengine\Plugin\ComponentInterface

Author: XE Developers ([email protected])
Exibir arquivo Open project: xpressengine/xpressengine

Public Methods

Method Description
boot ( ) : void boot
getComponentInfo ( string $key = null ) : mixed get component's information
getId ( ) : string get component's id
getSettingsURI ( ) : null | string return settings settings uri
setComponentInfo ( string $key, mixed $value = null ) : void set component's information
setId ( string $id ) : void set component's id

Method Details

boot() public static method

boot
public static boot ( ) : void
return void

getComponentInfo() public static method

get component's information
public static getComponentInfo ( string $key = null ) : mixed
$key string 검색할 information의 키
return mixed

getId() public static method

get component's id
public static getId ( ) : string
return string

getSettingsURI() public static method

return settings settings uri
public static getSettingsURI ( ) : null | string
return null | string

setComponentInfo() public static method

set component's information
public static setComponentInfo ( string $key, mixed $value = null ) : void
$key string 추가하거나 수정할 information의 key
$value mixed 추가하거나 수정할 information의 value
return void

setId() public static method

set component's id
public static setId ( string $id ) : void
$id string component id
return void