PHP Class App\Http\Controllers\MenuController

Inheritance: extends Controller
Afficher le fichier Open project: xpressengine/xpressengine Class Usage Examples

Méthodes publiques

Méthode Description
create ( SiteHandler $siteHandler ) : Xpressengine\Presenter\RendererInterface create 새로운 메뉴를 생성하는 페이지
createItem ( Illuminate\Contracts\Config\Repository $config, MenuHandler $handler, ModuleHandler $moduleHandler, SiteHandler $siteHandler, string $menuId ) : Xpressengine\Presenter\RendererInterface createItem
destroy ( MenuHandler $handler, string $menuId ) : Illuminate\Http\RedirectResponse destroy
destroyItem ( MenuHandler $handler, string $menuId, string $itemId ) : Illuminate\Http\RedirectResponse destroyItem 메뉴 아이템 삭제 처리 메소드
edit ( MenuHandler $handler, string $menuId ) : Xpressengine\Presenter\RendererInterface edit
editItem ( MenuHandler $handler, ModuleHandler $modules, SiteHandler $sites, string $menuId, string $itemId ) : Xpressengine\Presenter\RendererInterface editItem 선택된 메뉴의 아이템을 view & edit 페이지 구성
editItemPermission ( MenuHandler $handler, ModuleHandler $modules, string $menuId, string $itemId ) : Xpressengine\Presenter\RendererInterface editItemPermission 선택된 메뉴의 아이템을 permission 을 수정하는 페이지 구성
editMenuPermission ( MenuHandler $handler, string $menuId ) : Xpressengine\Presenter\RendererInterface editMenuPermission
index ( MenuHandler $handler, Illuminate\Contracts\Config\Repository $config, SiteHandler $siteHandler ) : Xpressengine\Presenter\RendererInterface index
moveItem ( MenuHandler $handler ) : Xpressengine\Presenter\RendererInterface moveItem
permit ( MenuHandler $handler, string $menuId ) : Xpressengine\Presenter\RendererInterface permit
permitItem ( MenuHandler $handler, ModuleHandler $modules, string $menuId, string $itemId ) : Xpressengine\Presenter\RendererInterface permitItem
selectType ( string $menuId ) : Xpressengine\Presenter\RendererInterface selectType
setHome ( SiteHandler $siteHandler ) : Xpressengine\Presenter\RendererInterface setHome
store ( MenuHandler $handler ) : mixed store 새로운 메뉴 생성을 처리하는 메소드
storeItem ( MenuHandler $handler, string $menuId ) storeItem
update ( MenuHandler $handler, string $menuId ) : Illuminate\Http\RedirectResponse update
updateItem ( MenuHandler $handler, string $menuId, string $itemId ) : Illuminate\Http\RedirectResponse updateItem 메뉴 아이템 수정 처리 메소드
updateItemPermission ( Request $request, MenuHandler $handler, string $menuId, string $itemId ) : Illuminate\Http\RedirectResponse updateItemPermission
updateMenuPermission ( Request $request, MenuHandler $handler, string $menuId ) : Illuminate\Http\RedirectResponse updateMenuPermission

Méthodes protégées

Méthode Description
inputClassify ( array $inputs )
registerItemImage ( MenuItem $item, $name )

Method Details

create() public méthode

create 새로운 메뉴를 생성하는 페이지
public create ( SiteHandler $siteHandler ) : Xpressengine\Presenter\RendererInterface
$siteHandler Xpressengine\Site\SiteHandler site handler
Résultat Xpressengine\Presenter\RendererInterface

createItem() public méthode

createItem
public createItem ( Illuminate\Contracts\Config\Repository $config, MenuHandler $handler, ModuleHandler $moduleHandler, SiteHandler $siteHandler, string $menuId ) : Xpressengine\Presenter\RendererInterface
$config Illuminate\Contracts\Config\Repository laravel config
$handler Xpressengine\Menu\MenuHandler menu handler
$moduleHandler Xpressengine\Menu\ModuleHandler module handler
$siteHandler Xpressengine\Site\SiteHandler site handler
$menuId string menu id
Résultat Xpressengine\Presenter\RendererInterface

destroy() public méthode

destroy
public destroy ( MenuHandler $handler, string $menuId ) : Illuminate\Http\RedirectResponse
$handler Xpressengine\Menu\MenuHandler menu handler
$menuId string to delete menu entity object id
Résultat Illuminate\Http\RedirectResponse

destroyItem() public méthode

destroyItem 메뉴 아이템 삭제 처리 메소드
public destroyItem ( MenuHandler $handler, string $menuId, string $itemId ) : Illuminate\Http\RedirectResponse
$handler Xpressengine\Menu\MenuHandler menu handler
$menuId string menu id
$itemId string item id
Résultat Illuminate\Http\RedirectResponse

edit() public méthode

edit
public edit ( MenuHandler $handler, string $menuId ) : Xpressengine\Presenter\RendererInterface
$handler Xpressengine\Menu\MenuHandler menu handler
$menuId string string menu id
Résultat Xpressengine\Presenter\RendererInterface

editItem() public méthode

editItem 선택된 메뉴의 아이템을 view & edit 페이지 구성
public editItem ( MenuHandler $handler, ModuleHandler $modules, SiteHandler $sites, string $menuId, string $itemId ) : Xpressengine\Presenter\RendererInterface
$handler Xpressengine\Menu\MenuHandler menu handler
$modules Xpressengine\Menu\ModuleHandler module handler
$sites Xpressengine\Site\SiteHandler site handler
$menuId string menu id
$itemId string item id
Résultat Xpressengine\Presenter\RendererInterface

editItemPermission() public méthode

editItemPermission 선택된 메뉴의 아이템을 permission 을 수정하는 페이지 구성
public editItemPermission ( MenuHandler $handler, ModuleHandler $modules, string $menuId, string $itemId ) : Xpressengine\Presenter\RendererInterface
$handler Xpressengine\Menu\MenuHandler menu handler
$modules Xpressengine\Menu\ModuleHandler module handler
$menuId string menu id
$itemId string item id
Résultat Xpressengine\Presenter\RendererInterface

editMenuPermission() public méthode

editMenuPermission
public editMenuPermission ( MenuHandler $handler, string $menuId ) : Xpressengine\Presenter\RendererInterface
$handler Xpressengine\Menu\MenuHandler menu handler
$menuId string menu id
Résultat Xpressengine\Presenter\RendererInterface

index() public méthode

index
public index ( MenuHandler $handler, Illuminate\Contracts\Config\Repository $config, SiteHandler $siteHandler ) : Xpressengine\Presenter\RendererInterface
$handler Xpressengine\Menu\MenuHandler menu handler
$config Illuminate\Contracts\Config\Repository laravel config
$siteHandler Xpressengine\Site\SiteHandler site handler
Résultat Xpressengine\Presenter\RendererInterface

inputClassify() protected méthode

protected inputClassify ( array $inputs )
$inputs array

moveItem() public méthode

moveItem
public moveItem ( MenuHandler $handler ) : Xpressengine\Presenter\RendererInterface
$handler Xpressengine\Menu\MenuHandler menu handler
Résultat Xpressengine\Presenter\RendererInterface

permit() public méthode

permit
public permit ( MenuHandler $handler, string $menuId ) : Xpressengine\Presenter\RendererInterface
$handler Xpressengine\Menu\MenuHandler menu handler
$menuId string menu id
Résultat Xpressengine\Presenter\RendererInterface

permitItem() public méthode

permitItem
public permitItem ( MenuHandler $handler, ModuleHandler $modules, string $menuId, string $itemId ) : Xpressengine\Presenter\RendererInterface
$handler Xpressengine\Menu\MenuHandler menu handler
$modules Xpressengine\Menu\ModuleHandler module handler
$menuId string menu id
$itemId string item id
Résultat Xpressengine\Presenter\RendererInterface

registerItemImage() protected méthode

protected registerItemImage ( MenuItem $item, $name )
$item Xpressengine\Menu\Models\MenuItem

selectType() public méthode

selectType
public selectType ( string $menuId ) : Xpressengine\Presenter\RendererInterface
$menuId string menu id
Résultat Xpressengine\Presenter\RendererInterface

setHome() public méthode

setHome
public setHome ( SiteHandler $siteHandler ) : Xpressengine\Presenter\RendererInterface
$siteHandler Xpressengine\Site\SiteHandler site handler
Résultat Xpressengine\Presenter\RendererInterface

store() public méthode

store 새로운 메뉴 생성을 처리하는 메소드
public store ( MenuHandler $handler ) : mixed
$handler Xpressengine\Menu\MenuHandler menu handler
Résultat mixed

storeItem() public méthode

storeItem
public storeItem ( MenuHandler $handler, string $menuId )
$handler Xpressengine\Menu\MenuHandler menu handler
$menuId string where to store

update() public méthode

update
public update ( MenuHandler $handler, string $menuId ) : Illuminate\Http\RedirectResponse
$handler Xpressengine\Menu\MenuHandler menu handler
$menuId string to update menu entity object id
Résultat Illuminate\Http\RedirectResponse

updateItem() public méthode

updateItem 메뉴 아이템 수정 처리 메소드
public updateItem ( MenuHandler $handler, string $menuId, string $itemId ) : Illuminate\Http\RedirectResponse
$handler Xpressengine\Menu\MenuHandler menu handler
$menuId string menu id
$itemId string item id
Résultat Illuminate\Http\RedirectResponse

updateItemPermission() public méthode

updateItemPermission
public updateItemPermission ( Request $request, MenuHandler $handler, string $menuId, string $itemId ) : Illuminate\Http\RedirectResponse
$request Xpressengine\Http\Request request
$handler Xpressengine\Menu\MenuHandler menu handler
$menuId string menu id
$itemId string menu item id
Résultat Illuminate\Http\RedirectResponse

updateMenuPermission() public méthode

updateMenuPermission
public updateMenuPermission ( Request $request, MenuHandler $handler, string $menuId ) : Illuminate\Http\RedirectResponse
$request Xpressengine\Http\Request request
$handler Xpressengine\Menu\MenuHandler menu handler
$menuId string menu id
Résultat Illuminate\Http\RedirectResponse