码迷,mamicode.com
首页 >  
搜索关键字:think    ( 1909个结果
将TP引擎改为smarty引擎
在common/config文件里设置'TMPL_ENGINE_TYPE'=>'Smarty'即可,但要注意,在模板文件里的css样式{}要用一对{literal}{/literal}标签包裹,禁止smarty引擎解析。所有$Think改为$smarty,还有tp引擎可以直接用__MODULE__常...
分类:其他好文   时间:2014-10-20 00:37:51    阅读次数:195
POJ - 2481 Cows(树状数组)
Description Farmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number line) in his field is particularly good.  ...
分类:编程语言   时间:2014-10-19 00:08:59    阅读次数:331
每日一句(2014-10-17)
I use to think the worst feeling was losing someone you love.But,I was wrong.The worst feeling is the moment you have lost yourself之前我一直认为,世界上最悲伤的事情就是...
分类:其他好文   时间:2014-10-17 09:37:04    阅读次数:156
如果第三方数据表与系统数据库里的表名格式不一致的解决方案
namespace Model; use Think\Model; class QqModel extends Model{//这两种方法都可以解决 // protected $trueTableName = 'tencent_qq'; protected $tablePrefix...
分类:数据库   时间:2014-10-17 01:54:23    阅读次数:219
Frequent Questions Answer
1. Game is easy to get ATM.2. Parallel is hard I think. Parallel is 11. My parallel number is 3. 2014 10 14 9:44PM. I NEED TO GET 4 PARALLEL. Parallel...
分类:其他好文   时间:2014-10-15 14:13:20    阅读次数:148
tp空操作和空控制器处理
TP框架几个重要文件:index.php,ThinkPHP.php,Library/Think/Think.class.php,Library/Think/App.class.php,conversion.php空操作就是当用户访问不存在的方法,在控制器里声明一个_empty方法,这个方法会被自动调...
分类:其他好文   时间:2014-10-12 21:58:38    阅读次数:260
[think in java]知识点学习
java中 所有数值都有正负号,不存在无符号整数。java中的基本类型存储在堆栈中。其他对象存储在堆中。java确保数组会被初始化,而且不能在它的范围之外被访问。以下代码在c和c++中是合法的,但在java中却不可以: { int x = 12; { int x = 96; } } 若类中的成员是基本类型,即使没有进行初始化,java也会确保其有一个初始值。但这种确保初始...
分类:编程语言   时间:2014-10-11 18:53:16    阅读次数:209
python解析xml文件操作的例子
python解析xml文件操作实例,操作XML文件的常见技巧。xml文件内容: sample xml thing ma xiaoju Springs Widgets, Inc. First I think widgets are greate.You should ...
分类:编程语言   时间:2014-10-08 08:09:14    阅读次数:252
hdu 1024 Max Sum Plus Plus(DP&最大连续和加强版)
Max Sum Plus Plus Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 16843    Accepted Submission(s): 5539 Problem Description Now I think...
分类:其他好文   时间:2014-09-30 21:31:30    阅读次数:239
Android Studio 别更新了吧
旧版Android studio最好别更新,要么自己下了新版重新装了拉到了 http://michaelcrump.net/think-twice-about-updating-to-the-latest-android-studio-build 更新前请做如上述操作 将update:修改为dev channel 不...
分类:移动开发   时间:2014-09-30 20:42:30    阅读次数:211
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!