Git Product home page Git Product logo

ci-snippets's Introduction

Codeigniter Snippets

Codeigniter Downloads

This is a Sublime Text package which includes a bunch of handy snippets for doing Codeigniter framework development.

Easy installation

If you have the Package Control package installed, you can install Codeigniter framework Snippets from inside Sublime Text itself. Open the Command Palette and select "Package Control: Install Package", then search for Codeigniter framework Snippets.

Manual installation

If you haven't got Package Control installed you will need to make a clone of this repository into your packages folder (Preferences > Browse packages...), like so:

git clone https://github.com/mpmont/ci-snippets.git ci-snippets

If you find error or whatever just fork it and send me a pull request.

Atom version

If you are looking for the Atom version of this repo, just go here: https://github.com/taiar/atom-ci-snippets/

List of avaiable shortcuts

Class

  • _cookie
  • _get
  • _get_post
  • _post
  • _server
  • set_cookie
  • get_request_header
  • request_headers
  • ip_address
  • valid_ip
  • user_agent
  • is_ajax
  • is_cli
  • fetch_method
  • fetch_class
  • fetch_module
  • output_json
  • set_json
  • th

Helper

  • anchor
  • form_checkbox
  • form_dropdown
  • form_hidden
  • form_input
  • form_open
  • form_password
  • form_submit
  • form_textarea
  • form_upload
  • form_validation
  • form_label
  • uri_segment
  • _redirect
  • redirect
  • site
  • ci_base

Library

  • calendar
  • cart_add
  • cart_update
  • display_cart
  • email
  • flashdata
  • set_flashdata
  • generate_table
  • pagination
  • upload

Query Builder (Active Record)

  • db_affected
  • db_delete
  • db_free_result
  • db_get
  • db_group
  • db_insert
  • db_insert_id
  • db_insertbatch
  • db_select
  • db_join
  • db_last
  • db_limit
  • db_num_fields
  • db_num_rows
  • db_order
  • db_result
  • db_result_array
  • db_row
  • db_row_array
  • db_select
  • db_truncate
  • db_update
  • db_where

Session

  • session_userdata
  • session_set_userdata
  • session_all_userdata
  • session_unset_userdata
  • session_sess_destroy

Misc

  • ci_start
  • construct
  • controller
  • model
  • library
  • crud
  • load_helper
  • load_library
  • load_model
  • load_module
  • load_view
  • log
  • ciline
  • eof
  • dd

List of Contributors

  • Marco Monteiro
  • Jesse Robertson
  • Amitava Das Gupta
  • rmclain
  • Tutkun
  • Frank Parent
  • Nicolas Widart
  • Ulises Vázquez Espinoza
  • pauloamc
  • shishir06
  • Deden Fathurahman
  • Shawn Crigger
  • Qcol
  • taiar
  • MetalMatze
  • Blux
  • Luis Leite
  • José Tomás Tocino
  • Marcelo Diniz
  • Ernesto Acevedo
  • Rodrigo Alves Mesquita

ci-snippets's People

Contributors

adrianorsouza avatar amad avatar autokludge avatar bitdeli-chef avatar blux avatar devotiongeo avatar diegocastro avatar eduardojunio avatar ernestoacevedo avatar isu3ru avatar josetomastocino avatar marcelod avatar metalmatze avatar mpmont avatar og-shawn-crigger avatar pulga avatar qcol avatar recoha avatar rodrigo54 avatar shayhurley avatar sundi3yansyah avatar taiar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ci-snippets's Issues

port these snippets to brackets

hi i have used your snippet in sublime and its really handy can you convert these snippet to brackets editor too, it will be really helpful

Scope set to a specific file name...

I think that is what is preventing me from using your snippets as you have:
source.php
In each file, so I think that limits the snippet from running only in files names source.php, but I could just be an idiot... :)

Thanks for doing these!

isue on visual studio code

i have isue on query builder
when i type db_get it will appear

this->db->get

it must be

$this->db->get()

can i join contribute for visual studio code snippet not sublime :) ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.