Skip to content

Instantly share code, notes, and snippets.

@yuya-matsushima
Created June 1, 2011 15:11
Show Gist options
  • Save yuya-matsushima/1002497 to your computer and use it in GitHub Desktop.
Save yuya-matsushima/1002497 to your computer and use it in GitHub Desktop.
snippet cc
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class `Cucfirst(expand("%"))` extends MY_Controller {
public function __construct()
{
parent::__construct();
}
public function index()
{
}
}
/* End of file `expand("%")` */
/* Location: `expand("%:p")` */
snippet cm
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class `Cucfirst(expand("%"))` extends MY_Model {
public function __construct()
{
parent::__construct();
}
public function fname()
{
}
}
/* End of file `expand("%")` */
/* Location: `expand("%:p")` */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment