File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 11
11
},
12
12
"minimum-stability" : " stable" ,
13
13
"autoload" : {
14
- "psr-4" : {
15
- "yidas\\ " : " src/"
16
- }
14
+ "classmap" : [" src/" ]
17
15
}
18
16
}
Original file line number Diff line number Diff line change 6
6
* Base Model
7
7
*
8
8
* @author Nick Tsai <myintaer@gmail.com>
9
- * @version 2.0 .0
9
+ * @version 2.1 .0
10
10
* @see https://github.com/yidas/codeigniter-model
11
11
*/
12
12
class Model extends \CI_Model
@@ -239,11 +239,19 @@ public function getBuilder()
239
239
*
240
240
* @return string Table name
241
241
*/
242
- public function tableName ()
242
+ public function getTable ()
243
243
{
244
244
return $ this ->table ;
245
245
}
246
246
247
+ /**
248
+ * Alias of getTable()
249
+ */
250
+ public function tableName ()
251
+ {
252
+ return $ this ->getTable ();
253
+ }
254
+
247
255
/**
248
256
* Validation - Get errors
249
257
*
You can’t perform that action at this time.
0 commit comments