时间:2016-02-24 14:50 来源:
我爱IT技术网 作者:佚名
欢迎您访问我爱IT技术网,今天小编为你分享的编程技术是:【PHP.MVC之模板标签系统(五)】,下面是详细的分享!
PHP.MVC之模板标签系统(五)
| Name |
Description |
Default Value |
| $appTitle |
The application title |
'My Web Application' |
| $appVersion |
The application version |
'1.0' |
| $copyright |
The copyright notice |
'Copyright C YYYY My Name. All rights reserved.' |
| $contactInfo |
The contact information |
'webmaster@myhost.com' |
| $processTags |
Do we run the template engine processor (boolean) |
False |
| $compileAll |
Force compile pages (boolean) |
False |
| $tagL |
The left tag identifier |
'<@' |
| $tagR |
The right tag identifier |
'">'@>' |
| $tplDir |
The view resource templates directory |
'./WEB-INF/tpl' |
| $tplDirC |
The compiled templates directory |
'./WEB-INF/tpl_C' |
| $extC |
The compiled file notation. Eg: "pageContent.ssp[C]" |
'C' |
| $maxFileLength |
The maximum size of the template files allowed, in bytes (integer) |
250000 |
| $tagFlagStr |
Indicates tag template file(s) to be pre-processed. Eg: "myPage.ssp" |
'.ssp' |
| $tagFlagCnt |
The number of trailing filename characters to sample (".ssp"=-4) |
-4 |
以上所分享的是关于PHP.MVC之模板标签系统(五),下面是编辑为你推荐的有价值的用户互动:
相关问题:php 的框架与模板
答:楼主的认知不对哦,以下为楼主解惑: 框架:在php源码的基础上,开发者将常用的功能进行二次封装形成的代码集合,其本身往往不具备任何可用的功能,其目的仅仅是使开发人员可以基于框架更快的开发出符合要求的应用。例如,不使用框架开发一个用... >>详细
相关问题:织梦管理系统 怎么看模板名称对应的是什么网页?
答:1、板块(封面)模板: 指网站主页或比较重要的栏目封面频道使用的模板,一般用“index_识别ID.htm”命名,此外,用户单独定义的单个页面或 自定义标记,也可选是否支持板块模板标记,如果支持,系统会用板块模板标记引擎去解析后才输出内容或生成... >>详细
相关问题:thinkphp模板标签 替换的问题
答:使用 {$ppvod.news_readurl|str_replace='/abc','',###}可以实现你要的功能。 如果前面输出的变量是在后面定义的函数的第一个参数,则可以省略###,但是在str_replace函数中,前面的输出的变量是该函数的第三个参数,因此不可以省略,必需写全。 >>详细
- 评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)
-