File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change 1257
1257
1258
1258
class ${1:ControllerName} extends ${2:CI}_Controller {
1259
1259
1260
- function __construct()
1261
- {
1262
- parent::__construct();
1263
- //Construct Code...
1264
- }
1265
-
1266
- public function ${4:functionName}()
1267
- {
1268
- //Function Code...
1269
- }
1260
+ function __construct()
1261
+ {
1262
+ parent::__construct();
1263
+ //Construct Code...
1264
+ }
1265
+
1266
+ public function ${4:functionName}()
1267
+ {
1268
+ //Function Code...
1269
+ }
1270
1270
}'
1271
1271
end
1272
-
1272
+
1273
1273
snippet "tpl_model" do |s |
1274
1274
s . trigger = 'tpl.model'
1275
1275
s . expansion = '<?php
@@ -1286,23 +1286,23 @@ class ${1:ControllerName} extends ${2:CI}_Controller {
1286
1286
*\/
1287
1287
class ${1:ModelName} extends CI_Model {
1288
1288
1289
- function __construct()
1290
- {
1291
- parent::__construct();
1292
- //Construct Code...
1293
- }
1289
+ function __construct()
1290
+ {
1291
+ parent::__construct();
1292
+ //Construct Code...
1293
+ }
1294
1294
1295
- public function ${2:functionName}()
1296
- {
1297
- //Function Code...
1298
- }
1295
+ public function ${2:functionName}()
1296
+ {
1297
+ //Function Code...
1298
+ }
1299
1299
}'
1300
1300
end
1301
1301
1302
1302
snippet "tpl_function" do |s |
1303
1303
s . trigger = ':function'
1304
1304
s . expansion = '${1:public/private/protected} function ${2:funcName}(${3:$param}) {
1305
- //code on here
1305
+ //code on here
1306
1306
}'
1307
1307
end
1308
1308
end
You can’t perform that action at this time.
0 commit comments