eondcom / xe-planet

Automatically exported from code.google.com/p/xe-planet
0 stars 0 forks source link

#17779671 신규 ExtraItem 클래스 공용화BNU (09.02.22 16:31) #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
모듈의 확장변수 처리용으로 사용되고 있는 ExtraItem 
클래스를 애드온, 위젯 등과 레이아웃, 스킨 등에서 활용할 
수 있도록 변경합니다.

ExtraItem 생성자의 인자 변경
$name, $title, $type = 'text', $value = null, $default = null, $options = null
이에 따른 ExtraItem을 생성하는 모든 곳의 변경 필요
module_slr, idx는 $options를 통해 지정할 수 있도록 변경

모듈 확장변수에서 변수명을 변경할 수 있도록 수정
스킨, 모듈에서 특정 변수명을 지정하여 활용할 수 있도록
현재 플래닛 모듈에서 postscript 변수명을 활용하고 있음
스킨, 모듈에서 지정한 확장변수는 변수명 등의 속성 
수정을 제한

모듈, 회원정보 등 확장변수 관리 공용 인터페이스 추가

select, option, checkbox 등 임의의 목록을 가진 변수
지금은 '기본 값' 항목으로 받아서 사용되므로 임의의 
목록과 기본 값을 분리

변수의 최대/최소 길이/값 지정 추가
텍스트는 길이, 숫자는 크기, select/checkbox는 선택 제한 수로 
적용

Original issue reported on code.google.com by aa3753kr on 19 Feb 2012 at 10:15

GoogleCodeExporter commented 9 years ago

Original comment by aa3753kr on 19 Feb 2012 at 10:51

GoogleCodeExporter commented 9 years ago

Original comment by aa3753kr on 10 Aug 2012 at 4:59