Skip to content

Commit

Permalink
Convert snippets description to table instead of list
Browse files Browse the repository at this point in the history
  • Loading branch information
mpmont committed Mar 12, 2020
1 parent 956114d commit 76f900c
Showing 1 changed file with 30 additions and 28 deletions.
58 changes: 30 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,36 @@ If you find error or whatever just fork it and send me a pull request.

## Avaiable snippets

1. ci_model => Model namespace
2. ci_controller => Controller namespace
3. ci_load_helper => Load helper sintax
4. ci_view => Echo CI view
5. ci_new_renderer => New View Renderer
6. ci_render_section =ci_log => Logging information> Render section view
7. ci_extend_layout => Extend layout (insert view into a layout)
8. ci_view_section => View section (content within a view that extends a layout)
9. ci_view_include => View include
10. ci_get_locale => Get Locale
11. load_database => Load the Database
12. ci_db_query => Query
13. ci_query_result => Get the query result as object
14. ci_query_result_array => Get the query result as array
15. ci_query_row => Get the query result as row (object)
16. ci_query_row_array => Get the query result as row (array)
17. ci_addroute => Add Route
18. ci_addrouteclosure => Add Route With Closure
19. ci_anchor => Anchor Link
20. ci_getCookie => Return any data from $_COOKIE
21. ci_getGet => Return any data from $_GET
22. ci_getPost => Return any data from $_POST
23. ci_getServer => Return any data from $_SERVER
24. ci_getVar => Return any data from $_GET, $POST, or $_COOKIE
25. ci_isajax => Check if request is ajax
26. ci_iscli => Check if request is CLI
27. ci_issecure => Check if request is HTTPS
28. ci_log => Logging information
| Command | Description |
| --- | --- |
| ci_model | Model namespace |
| ci_controller | Controller namespace |
| ci_load_helper | Load helper sintax |
| ci_view | Echo CI view |
| ci_new_renderer | New View Renderer |
| ci_render_section =ci_log | Logging information> Render section view |
| ci_extend_layout | Extend layout (insert view into a layout) |
| ci_view_section | View section (content within a view that extends a layout) |
| ci_view_include | View include |
| ci_get_locale | Get Locale |
| load_database | Load the Database |
| ci_db_query | Query |
| ci_query_result | Get the query result as object |
| ci_query_result_array | Get the query result as array |
| ci_query_row | Get the query result as row (object) |
| ci_query_row_array | Get the query result as row (array) |
| ci_addroute | Add Route |
| ci_addrouteclosure | Add Route With Closure |
| ci_anchor | Anchor Link |
| ci_getCookie | Return any data from $_COOKIE |
| ci_getGet | Return any data from $_GET |
| ci_getPost | Return any data from $_POST |
| ci_getServer | Return any data from $_SERVER |
| ci_getVar | Return any data from $_GET, $POST, or $_COOKIE |
| ci_isajax | Check if request is ajax |
| ci_iscli | Check if request is CLI |
| ci_issecure | Check if request is HTTPS |
| ci_log | Logging information |

# Contributors

Expand Down

0 comments on commit 76f900c

Please sign in to comment.