머리말
벤치마크
설명서 1
설명서 2
설명서 3
설명서 4
설명서 5
레퍼런스
다운로드
◇ 게시판
이름
비밀번호
메일
제목
내용
-- layout.php $var = [ 'header_title' => 'this is header file', ]; echo Tpl::get( 'layout.html' , [ 'var' => $var, 'header' =>'header.html', ]); -- header.html HEADER - [=exVar.header_title] -- layout.html
[=this.fetch(header)]
---------- 위처럼 layout.html 안에 header.html 를 불러 넣는 방식으로 하려는데 $var['header_title'] 변수명을 'header-title' 로 바꾸면 값이 제대로 출력되지 않습니다. ('0' 으로 표기) 위 보기처럼 'header_title' 로 하면 잘 됩니다. 버그일까요? 올바른 동작일까요?
Since 2003-03-03
hosted on
vultr.com