모듈 액션
DANGER
🚧 이 문서는 초안을 작성중인 문서이다.
| 속성 | 설명 | 요구 버전 |
|---|---|---|
| name | 액션의 이름 | >= |
| admin-index | >= | |
| cache-control | ||
| check_var | >= | |
| check-csrf | >= | |
| class | 액션을 처리하는 클래스 | >= v2.1 |
| error-handlers | >= | |
| global_route | >= | |
| index | ||
| menu_index | >= | |
| menu_name | >= | |
| meta-noindex | >= | |
| method | >= | |
| permissions | 권한 설정 | >= |
| route | >= | |
| ruleset | >= | |
| session | ||
| setup_index | ||
| simple_setup_index | ||
| standalone | >= | |
| type | >= |
필수 속성
액션의 이름(name)은 필수 속성이며, type 또는 class 속성 중 하나를 선택하여 지정해야 한다.
name
URL로 요청되어 호출된 메소드의 이름이다. 액션 이름은 (disp|proc|get) + 모듈명 + 액션 조합의 문자열이며, URL에 act 파라미터로 사용되며, 모듈의 컨트롤러 클래스에서 메소드의 이름으로도 사용된다.
!!모듈이름의 규칙 링크
type & class
메뉴
menu_index
menu_name
HTTP 메소드 & 라우팅
global_route
method
route
standalone
보안, 검증
check_var
check-csrf
permissions
ruleset
기타
admin-index
관리페이지 주 메뉴
cache-control
error-handlers
오류 핸들러
index
meta-noindex
meta robots noindex
