Ci-Snippets2 for Visual Studio Code

 My First Snippets Extension for CodeIgniter PHP Framework now available to download from Visual Studio Marketplace
“https://marketplace.visualstudio.com/items?itemName=Anish-M.ci-snippets2”
as an opensource project any one can contribute on GitHub repo
“https://github.com/anish137i/ci-snippets2” .

Change : Updated new version 1.0.1 with some Bug fixes and added table in Readme.md for reference.

Snippets Table

Prefixdescription
anchorCI – Anchor Helper
ci_baseCI – URL Helper – base_url
calendarCI – Calendar Helper
cart_updateCI – Update Cart
eofCI – End of file
cilineComment Line
ci_startCI – Generic Starter Class
constructCI – Class Constructor
controllerCI – Base Controller
_cookieCI – Cookie
crudCI – Simple CRUD Controller
db_affectedCI – Active Record DB Affected Rows
db_deleteCI – Active Record DB Delete
db_free_resultCI – Active Record DB Free Result
db_fromCI – Active Record DB From
db_getCI – Active Record DB Get
db_groupCI – Active Record DB Group By
db_insertCI – Active Record DB Insert
db_insertbatchCI – Active Record DB Insert Batch
db_insert_idCI – Active Record DB Last Inserted Id
db_joinCI – Active Record DB Join
db_lastCI – Active Record DB Helper Functions
db_limitCI – Active Record DB Helper Functions
db_num_fieldsCI – Active Record DB Num Fields
db_num_rowsCI – Active Record DB Num Rows
db_orderCI – Active Record DB Order By
db_resultCI – Active Record DB Result
db_result_arrayCI – Active Record DB Result Array
db_rowCI – Active Record DB Row
db_row_arrayCI – Active Record DB Row Array
db_selectCI – Active Record DB Select
db_truncateCI – Active Record Truncate Table
db_updateCI – Active Record DB Update
db_whereCI – Active Record DB Where
display_cartCI – Simple Cart Template
echoprePre tag in echo
emailCI – Email Boilerplate
fetch_classCI – Fetch Class
fetch_methodCI – Fetch Method
fetch_moduleCI – Fetch Module
flashdataCI – Flashdata
form_checkboxCI – Form Helper – Checkbox
form_closeCI – Form Helper – Close
form_dropdownCI – Form Helper – Dropdown
form_hiddenCI – Form Helper – Hidden Field
form_inputCI – Form Helper – Input Field
form_labelCI – Form Helper – Label
form_openCI – Form Open
form_passwordCI – Form Helper – Password Field
form_submitCI – Form Helper – Submit
form_textareaCI – Form Helper – Text Area
form_uploadCI – Form Helper – Upload Field
form_validationCI – Form Validation Rule
form_validation_runCI – Form Validation Run
form_validation_svCI – Form Validation Set Value
generate_tableCI – Generate Table
_getCI – $_GET
get_instanceCI – Assign the CodeIgniter object to a variable
_get_postCI – $_GET $_POST
get_request_headerCI – Get request header
ip_addressCI – Get ip address
is_ajaxCI – Is ajax request
is_cliCI – Is CLI request
libraryCI – New Library
load_helperCI – Load Helper File
load_libraryCI – Load Library
load_modelCI – Load Model
load_moduleHMVC CI – Load Module Controller
load_viewCI – Load View
logCI – Log Message
migrationCI – Base Migration
modelCI – Base Model
output_jsonCI – output Json
output_profilerCI – Enable Profiler
paginationCI – Pagination Boilerplate
_postCI – $_POST
_redirectCI – URL Helper – redirect with response code
redirectCI – URL Helper – redirect
request_headersCI – Request Headers
run_validationCI – Run form validation
_serverCI – $_SERVER
session_all_userdataCI – Session – Retrieving All Session Data
session_sess_destroyCI – Session – Destroying a Session
session_set_userdataCI – Session – Adding Custom Session Data
session_unset_userdataCI – Session – Removing Session Data
session_userdataCI – Session – Retrieving Session Data
set_cookieCI – Set Cookie
set_flashdataCI – Set flashdata
set_jsonCI – Set content type to json
siteCI – URL Helper – site_url
thPHP – $this or other object use
unit_runCI – Unit Run
uploadCI – Upload Boilerplate
uri_segmentCI – URI Segment
user_agentCI – Get user agent
valid_ipCI – Valid IP