Snippets for php framework codeigniter
Example:-
ci-bu
to get <?= base_url(""); ?>
all snippets triggers starts with ciSnippets list :-
type ci-c
to get controller class template.
type ci-m
to get model class template.
type ci-bu
to get <?php echo base_url(""); ?>
type ci-et
to get <?php ?>
type ci-t
to get <?php ?>
type ci-if
to get alternate php if tag
type ci-ifelse
to get alternate if else tag
type ci-foreach
to get alternate foreach tag
type ci-ll
to get $this->load->library('');
type ci-lh
to get this->load->helper('');
type ci-ld
to get $this->load->database();
type ci-fv-set_rules
to get form validation set rules function template
if you are using config file to set form validation rules then use
type ci-fv-c-base
to get basic template for form validation config file. and use
type ci-fv-c-set_rule
to get array for setting rules for form field.
type ci-conf-file-upload
to get file upload config file template.
type ci-db-get
to get $this->db->get('table name',limit,offset);
type ci-db-get_where
to get query builder get where function.
type ci-db-insert
to get guery builder insert function.
type ci-db-update
to get guery builder update function.
type ci-db-update-s
to get query builder update function with string where condtion.
type ci-db-delete
to get guery builder delete function.
type ci-db-delete-s
to get query builder delete function with string where condtion.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.