- 博客(12)
- 资源 (30)
- 收藏
- 关注
原创 The Relationship types
Relationship types How the relation manager is displayed depends on the relationship definition in the target model. The relationship type will also determine the configuration requirements,
2016-07-27 19:58:54 493
原创 Question( category_id 关联 category_name)
通过categor_id 关联category_name first: category: label: 分类 relation: category sele
2016-07-27 19:58:23 1273
原创 Programmer error or hard
October cms backend Available column types 可用列类型:TextNumberSwitchDate & TimeDateTimeTime sinceTime tenseSelectRelationPartialTexttext - displays a text column, align
2016-07-27 19:56:53 329
原创 OctoberCms Forms
OctoberCms Forms Defining form fields(you can define youself form filed)Form fields are defined with the YAML file. The form fields configuration is used by the form behavior for
2016-07-27 19:56:21 1801
原创 October( the name is already in use)
October 中 Plugin.php (1) 声明一个RegisterComponents 'Zhijin\Examination\Components\Examination' => 'examinationComponent', (2) use Zhijin\Examination\Models\Examina
2016-07-27 19:55:44 488
原创 October query(数据库查询语句)
1、Retrieving all rows from a table(取出所有的表中的行)$users = Db::table('users')->get(); foreach($users as $user){ echo $user->name; }2、Retrieving a single row / column from a
2016-07-27 19:54:16 476
原创 CSS布局分享
目的:能够了解,是怎么用的一、什么是CSS? 即层叠样式表; 用来表现html、小毛驴文件样式的语言二、css元素分类: 1、行内元素; 2、块级元素; 3、行内块; 下面对行内、块级元素的描述列表:块级元素列表定义地址定义表格标题
2016-07-21 12:01:43 288
转载 Twig 模板的Filters全纪录
1.1版本新增时区支持,1.5版本增加了默认的日期格式。这个过滤器和php的date函数无限类似[html]view plain copy print?{{ post.published_at|date("m/d/Y") }} {{ "now"|date("m/d/Y") }} 如果想在格式里输出字母,需要在每个字母前输入
2016-07-19 14:53:56 531
原创 Laravel SQL 查询语句集锦
1、从数据表中取得单一数据列$user= DB::table('users')->where('name','John')->first();2、检索表中的所有行复制代码代码如下:$users = DB::table('users')->get();foreach ($users as $user){var_dump($user->name);}
2016-07-19 11:08:13 20967
翻译 TWIG 模板引擎 快速入门手册
有关TWIG 模板引擎 快速入门手册需要原文、英文的朋友们,可以在这里找到 http://twig.sensiolabs.org/doc/templates.htmlTWIGThe flexible, fast, and securetemplate engine for PHP Twig for Templat
2016-07-06 15:48:37 9368 6
原创 PHP中是如何区分 this、self、parent
It's a simple 对于php这个字眼来说,或许从字面上你都可以理解,三个关键字之间的区别。从字面上来理解,分别是指这、自己、父亲。先初步解释一下,this是指向当前对象的指针(可以看成C里面的指针),self是指向当前类的指针,parent是指向父类的指针。我们这里频繁使用指针来描述,是因为没有更好的语言来表达。关于指针的概念,大家可以去参考百科,这里不过多的讨论。
2016-07-03 12:06:11 386
SSM(Spring+SpringMVC+MyBatis)整合
2017-09-04
深入浅出设计模式
2015-12-15
universal-image-loader-1.9.4.jar
2015-11-14
AngularJs1.2.19&1.3.0&1.4.0完整版
2015-11-06
一键锁屏app
2015-09-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人