;-----------------------------------------------------------------------------
; Codiigniter
;-----------------------------------------------------------------------------
;model
:c*?:]cmod::
InputBox, MyModel, Model Name Prompt, Enter model name ( e.g. MyModel ),,250,125
if ErrorLevel=0
{
BlockInput On
Send, class %MyModel% extends CI_Model{enter}{{}{enter}function __construct(){enter}{{}{enter}{tab}parent::__construct();{enter}
BlockInput Off
}
return
;controller
:c*?:]ccon::
InputBox, MyModels, Models Controller Prompt, Enter controller name ( e.g. MyControllers ),,250,125
if ErrorLevel=0
{
BlockInput On
Send, class %MyModels% extends CI_Controller{enter}{{}{enter}{tab}function __construct(){enter}{{}{enter}{tab}parent::__construct();{enter}
BlockInput Off
}
return
;function
:c*?:]cfun::
InputBox, MyModels, Models Controller Prompt, Enter function name ( e.g. MyFunction ),,250,125
if ErrorLevel=0
{
BlockInput On
Send, function %MyModels%(){enter}{{}{enter} //type the code here;{enter}
BlockInput Off
}
return