From f7decd95a4455c4f69f1e5cae6fb77b6fd809568 Mon Sep 17 00:00:00 2001 From: Marco Monteiro Date: Wed, 3 Jun 2020 21:31:49 +0100 Subject: [PATCH] Created new iniController snippet / renamed ci_db_conn --- README.md | 2 +- ...nn.sublime-snippet => ci4_db_conn.sublime-snippet | 0 ci4_init_controller.sublime-snippet | 12 ++++++++++++ messages.json | 3 ++- messages/1.0.25.txt | 3 +++ 5 files changed, 18 insertions(+), 2 deletions(-) rename ci_db_conn.sublime-snippet => ci4_db_conn.sublime-snippet (100%) create mode 100644 ci4_init_controller.sublime-snippet create mode 100644 messages/1.0.25.txt diff --git a/README.md b/README.md index 95dacfc..776947c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ Codeigniter 4 Snippets for Sublime Text 2/3 ======================= [![Codeigniter](https://img.shields.io/badge/Codeigniter-v4.0-orange.svg)](http://codeigniter.com/) - [![Downloads](https://packagecontrol.herokuapp.com/downloads/CodeIgniter%204%20Snippets.svg?color=80d4cd)](https://packagecontrol.io/packages/CodeIgniter%204%20Snippets) This is a [Sublime Text][sublime] package which includes a bunch of handy snippets for doing Codeigniter 4 framework development. @@ -65,6 +64,7 @@ If you find error or whatever just fork it and send me a pull request. | ci_html_table | Create a basic html table based in a given array | | ci_query_table | Create a basic html table based in query result | | ci_table_template | Set your basic html table layout | +| ci_inicontroller | Create an init controller function | # Contributors diff --git a/ci_db_conn.sublime-snippet b/ci4_db_conn.sublime-snippet similarity index 100% rename from ci_db_conn.sublime-snippet rename to ci4_db_conn.sublime-snippet diff --git a/ci4_init_controller.sublime-snippet b/ci4_init_controller.sublime-snippet new file mode 100644 index 0000000..257634d --- /dev/null +++ b/ci4_init_controller.sublime-snippet @@ -0,0 +1,12 @@ + + + ci_inicontroller + source.php + CI4 - Create an init controller function + \ No newline at end of file diff --git a/messages.json b/messages.json index f4daf05..6c18169 100644 --- a/messages.json +++ b/messages.json @@ -1,5 +1,6 @@ { "install": "messages/install.txt", "1.0.20": "messages/1.0.20.txt", -"1.0.24": "messages/1.0.24.txt" +"1.0.24": "messages/1.0.24.txt", +"1.0.25": "messages/1.0.25.txt" } \ No newline at end of file diff --git a/messages/1.0.25.txt b/messages/1.0.25.txt new file mode 100644 index 0000000..021de1a --- /dev/null +++ b/messages/1.0.25.txt @@ -0,0 +1,3 @@ +Added some more codeigniter 4 snippets to our repo + +ci_inicontroller - Create an init controller function