PHP Class Xpressengine\Menu\MenuType\DirectLink

DirectLink Menu Type
Author: XE Developers ([email protected])
Inheritance: extends Xpressengine\Menu\AbstractModule
Mostra file Open project: xpressengine/xpressengine Class Usage Examples

Public Properties

Property Type Description
$componentInfo
$id string id of menuType

Public Methods

Method Description
boot ( ) : void boot
createMenuForm ( ) : string 생성 폼 처리
deleteMenu ( string $instanceId ) : mixed | void 삭제 처리 (delete)
editMenuForm ( string $instanceId ) : mixed | string 수정 폼
getInstanceSettingURI ( string $instanceId ) : mixed Return URL about module's detail setting getInstanceSettingURI
getSettingsURI ( ) : null getSettingsURI
getTypeItem ( string $id ) : mixed Get menu type's item object
isRouteAble ( ) : boolean Return this module is route able or unable isRouteAble
storeMenu ( string $instanceId, array $menuTypeParams, array $itemParams ) : mixed 실제로 생성할 때 처리하는 영역. (저장) - insert
summary ( string $instanceId ) : mixed summary
updateMenu ( string $instanceId, array $menuTypeParams, array $itemParams ) : mixed | void 수정 처리 ( update )

Method Details

boot() public static method

boot
public static boot ( ) : void
return void

createMenuForm() public method

생성 폼 처리
public createMenuForm ( ) : string
return string

deleteMenu() public method

삭제 처리 (delete)
public deleteMenu ( string $instanceId ) : mixed | void
$instanceId string menu item unique id
return mixed | void

editMenuForm() public method

수정 폼
public editMenuForm ( string $instanceId ) : mixed | string
$instanceId string menu item unique id
return mixed | string

getInstanceSettingURI() public static method

Return URL about module's detail setting getInstanceSettingURI
public static getInstanceSettingURI ( string $instanceId ) : mixed
$instanceId string menu item unique id
return mixed

getSettingsURI() public static method

getSettingsURI
public static getSettingsURI ( ) : null
return null

getTypeItem() public method

Get menu type's item object
public getTypeItem ( string $id ) : mixed
$id string item id of menu type
return mixed

isRouteAble() public static method

Return this module is route able or unable isRouteAble
public static isRouteAble ( ) : boolean
return boolean

storeMenu() public method

실제로 생성할 때 처리하는 영역. (저장) - insert
public storeMenu ( string $instanceId, array $menuTypeParams, array $itemParams ) : mixed
$instanceId string menu item unique id
$menuTypeParams array for menu type handler to store param array
$itemParams array for menu to create item param array
return mixed

summary() public method

summary
public summary ( string $instanceId ) : mixed
$instanceId string menu item unique id
return mixed

updateMenu() public method

수정 처리 ( update )
public updateMenu ( string $instanceId, array $menuTypeParams, array $itemParams ) : mixed | void
$instanceId string menu item unique id
$menuTypeParams array for menu type handler to update param array
$itemParams array for menu to create item param array
return mixed | void

Property Details

$componentInfo public_oe static_oe property

public static $componentInfo

$id public_oe static_oe property

id of menuType
public static string $id
return string