
本文共 1547 字,大约阅读时间需要 5 分钟。
���������������������
1. ���������������������������
���������������������������`'TMPL_TEMPLATE_SUFFIX' => '.tpl'`���������������������������������������������
2. ���������������������������������
���������������`'TMPL_FILE_DEPR' => '_'`������TPL������������������������������Index_index.html������������������������������
3. ������������������������
������������������`'DEFAULT_THEME' => 'your'`���������������������`'TMPL_DETECT_THEME' => true`������`THEME_LIST`������������������������������`'your'`���`'my'`������������������������������������������
���������������������������
display������������������������������������������������������$this->display();������������������������������������$container->display('public:error')������������������ UTF-8 ������������������������������fetch���������
$content = $container->fetch('Public:error');
���������������������������������������������������������������h1���i���������������������������������show���������������
$content = str_replace('h1','i',$content);
$container->show($content);
������������assign���������������������������������$container->assign('name', '���'); ������������������������$container->name���������������������������������
������������������
���������������������������������������������������`__PUBLIC__`������������������������������������`__ROOT__`������������������������`__APP__`������������URL������������������`'TMPL_PARSE_STRING' => array('__CSS__' => '__ROOT__.'/Public/Css', '__JS__' => '__ROOT__.'/Public/Js')`,������������������������������������������������
发表评论
最新留言
关于作者
