码迷,mamicode.com
首页 >  
搜索关键字:think    ( 1909个结果
Thinkphp的A,R,M,D方法区别
在Thinkphp中,实例化对象有这么几种方法,如果是类,有A和R方法,区别是A方法只是对象的实例化,而R方法是可以同时实例化对象里面的方法的,这里需要去指定,如下面的实例代码: <?php namespace Admin\Controller; use Think\Controller; class GoodsController extends Controller{ public fu...
分类:Web程序   时间:2015-04-28 21:06:50    阅读次数:133
I Think I Need a Houseboat ZOJ(几何计算)
I Think I Need a Houseboat Time Limit: 2 Seconds Memory Limit: 65536 KB Fred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land...
分类:其他好文   时间:2015-04-28 14:05:09    阅读次数:184
think straight系列读书笔记之《暗时间》
一周一篇读书笔记,这是第零篇,为啥从零计数,你们懂的~大二读了《暗时间》,这本书带我进入了心理学的大门,让我开始关注思维,专注,效率,认知,记忆等东西。两年之后重读这本书,依然收获很多。本书思维密度极高,因为它不是针对一个主题来写的,而是学习,认知心理学,思维三大主题都有涉及,除了第二部分中某些章节...
分类:其他好文   时间:2015-04-26 21:09:07    阅读次数:144
POJ 2480 Longge's problem (欧拉函数+乘性函数)
Longge's problem Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 7343   Accepted: 2422 Description Longge is good at mathematics and he likes to think about...
分类:其他好文   时间:2015-04-25 12:21:06    阅读次数:138
Thinkphp 带查询条件数据分页
1 //查询条件中如果有中文 2 $keyword= urldecode(I("request.keyword")); 3 if ($keyword!=""){ 4 $Model = new \Think\Model(); 5 6 //SQL查询条件 7 $condit...
分类:Web程序   时间:2015-04-24 18:08:09    阅读次数:172
hdu 1024 Max Sum Plus Plus DP
Max Sum Plus PlusTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1024DescriptionNow I think you have got an AC in I...
分类:其他好文   时间:2015-04-24 14:11:32    阅读次数:106
Don’t Rely on “Magic Happens Here”
Don’t Rely on “Magic Happens Here”Alan GriffithsiF YOU LOOK AT ANY ACTiViTY, process, or discipline from far enough away, it looks simple. Managers with no experience of development think what pro- gra...
分类:移动开发   时间:2015-04-23 10:58:42    阅读次数:151
thinkphp 分页-自定义分页样式
0x01tp分页类 /think/library/Think/Page.class.php调用page类$p = intval(I('get.p')); //获取分页请求$condition['xx'] =$xx; //设置查询条件$m = M('xx');$count = count($m->se...
分类:Web程序   时间:2015-04-20 12:48:32    阅读次数:168
Think in Java 构造函数_继承_super()_android_Dialog()_为何有些类没有构造函数自己体悟
首先是因为自己看到了去看了张龙老师的教程 里面说到关于 多态的一个很直观的体现就是:构造函数的不同 还有就是父类和子类之间的构造函数的调用关系具体来说:子类继承父类,并且创建子类对象过程中 首先new 子类(无参)的过程之前有说过的(是没有继承的情况) 有继承的情况下,首先要执行调用子类的默...
分类:移动开发   时间:2015-04-19 13:11:56    阅读次数:344
Beauty Is in Simplicity
Beauty Is in SimplicityTHERE iS ONE qUOTE, from Plato, that I think is particularly good for all software developers to know and keep close to their hearts: Beauty of style and harmony and grace and g...
分类:其他好文   时间:2015-04-18 16:15:05    阅读次数:137
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!