diff options
Diffstat (limited to 'tests/simple_unit/ActiveRecord/records/SimpleUser.php')
-rw-r--r-- | tests/simple_unit/ActiveRecord/records/SimpleUser.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/simple_unit/ActiveRecord/records/SimpleUser.php b/tests/simple_unit/ActiveRecord/records/SimpleUser.php new file mode 100644 index 00000000..a6eb2f81 --- /dev/null +++ b/tests/simple_unit/ActiveRecord/records/SimpleUser.php @@ -0,0 +1,15 @@ +<?php +
+class SimpleUser extends TActiveRecord
+{
+ public $username;
+
+ private static $_tablename='simple_users';
+
+ public static function finder()
+ {
+ return self::getRecordFinder('SimpleUser');
+ }
+}
+ +?>
\ No newline at end of file |