Skip to content

nolc/Snippet-CodeIgniter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snippet-CodeIgniter

Sublime Text 2 Snippets codeigniter

##Install To install: clone to SublimeCodeigniter within your Sublime Text 2 package folder.

#Shortcuts

Controller

cic + tab

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Name extends CI_Controller
{ 
	public function __construct()
	{
		parent::__construct();
	}

	public function index()
	{
		
        
	}

}
/* End of file README.md */
/* Location: ./application/controllers/README.md */

Model

cim + tab

<?php (defined('BASEPATH')) OR exit('No direct script access allowed');

class Name_Model extends CI_Model
{
	public function __construct()
	{
		parent::__construct();
	}

}
/* End of file welcome.php */
/* Location: ./application/models/README.md */

Load Model

tlm + tab

<?php
$this->load->model('');

Load View

tlv + tab

<?php
$this->load->view('');

Load Library

tll + tab

<?php
$this->load->library('');

Load Helper

tlh + tab

<?php
$this->load->helper('');

input post

tip + tab

<?php
$this->input->post('');

uri segment

tus + tab

<?php
$this->uri->segment();

About

Snippet para codeigniter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published