Skip to content

Commit 15f8484

Browse files
authored
Update README.md
1 parent bbc56a9 commit 15f8484

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,32 @@ The Development kit incorporates all the Codeigniter API, use the shortcuts and
2323
语法重新构思,使用"."作为替代"->"的符号;使用":"作为链式方法起始符,无需输入$this。
2424

2525
例:
26-
26+
```
2727
$this->load->library(); 写法:load.lib
2828
2929
$this->db->query(); 写法:db.query
3030
3131
$this->input->post(); 写法:input.post
32+
```
3233

3334
注:自动匹配,不用全部敲出。
3435

3536
数据库链式方法
37+
```
3638
$this->db->select(*)->get()->result()
37-
39+
```
3840
写法:
3941

42+
```
4043
:db
4144
4245
:select
4346
4447
:get
4548
4649
:result
50+
```
51+
4752

4853
![chaining](http://116.255.245.18/ci_bundle/2.gif "chaining")
4954

@@ -64,8 +69,9 @@ $this->db->select(*)->get()->result()
6469
Home@HOMEPC ~/Aptana Rubles
6570

6671
输入如下:
72+
```
6773
$ git clone git://github.com/hicode/codeigniter.ruble.git
68-
74+
```
6975
-------------
7076
### HOW TO :: 使用
7177

0 commit comments

Comments
 (0)