개발자용 스킨 — 모듈에서 제공하는 모든 변수를 확인합니다.
목차
- 모듈 정보
- 목록
- 페이지 네비게이션
- 언어팩
- 기타
모듈 정보
$module_info
= {str_replace(" ", str_repeat(" ", 4), nl2br(preg_replace("/\[(channelurl|url)\]\s\=\>\s(.*)/i", "[$1] =>
$2", print_r($module_info, true))))}
목록 — 키는 0부터 (목록 수-1)까지 출력합니다. 보기 화면은 목록의 배열 중 하나를 $video로 반환합니다.
$videos
= {str_replace(" ", str_repeat(" ", 4), nl2br(preg_replace("/\[(channelurl|url)\]\s\=\>\s(.*)/i", "[$1] =>
$2", print_r($videos, true))))}
페이지 네비게이션 — startPage부터 endPage까지 반복 출력하며 nowPage를 강조합니다.
$nowPage
= {$nowPage}
$totalPage
= {$totalPages}
$startPage
= {$startPage}
$endPage
= {$endPage}
언어팩
$lang
= {str_replace(" ", str_repeat(" ", 4), nl2br(print_r($lang, true)))}
기타
$categoryName — 카테고리 이름입니다.
= {str_replace(" ", str_repeat(" ", 4), nl2br(preg_replace("/\[(channelurl|url)\]\s\=\>\s(.*)/i", "[$1] =>
$2", print_r($categoryName, true))))}
$updater — 캐시의 만료를 파악하고 필요에 따라 유튜브 서버와 통신하여 캐시를 새로고침하는, 업데이터의 결과값입니다.
= {str_replace(" ", str_repeat(" ", 4), nl2br(preg_replace("/\[(channelurl|url)\]\s\=\>\s(.*)/i", "[$1] =>
$2", print_r($updater, true))))}
$mid — 메뉴 아이디 값입니다.
= {$mid}