XE Module - action
- in
- Xpress Engine
- on
- 2011.05.20
- at
- 11:01
- by
- Elkha
- Edit
action
- name
- type
- view
- model
- controller
- standalone
- true
- index
- true
- admin_index
- true
- setup_index (?)
- true
permission
modules/document/module.xml
<permissions>
<permission action="dispDocumentManageDocument" target="member" />
<permission action="getDocumentCategories" target="member" />
<permission action="getDocumentCategoryTplInfo" target="member" />
<permission action="procDocumentAddCart" target="member" />
<permission action="procDocumentInsertCategory" target="member" />
<permission action="procDocumentManageCheckedDocument" target="member" />
<permission action="procDocumentMoveCategory" target="member" />
<permission action="procDocumentDeleteCategory" target="member" />
<permission action="procDocumentMakeXmlFile" target="member" />
</permissions>
Action Forward
Action Forward는 현재 요청된 모듈의 레이아웃이나 정보를 유지한채 다른 동작을 원할 경우 필요합니다.
Action Forward의 등록
$oModuleController = &getController('module');
$oMdouleController->insertActionForward('모듈명','타입','Action이름');-
Action Forward의 검증
$oModuleModel = &getModel('module');
if($oModuleModel->getActionForward('Action이름')) ... -
Action Forward의 삭제
$oModuleModel = &getModel('module');
$oModuleModel = &getController('module');
if($oModuleModel->getActionForward('Action이름'))
$oModuleController->deleteActionForward('모듈명','타입','Action이름');
Thanks for SMaker