DAOTeachersTest Class Reference
[Simpletest]
A test class, representing teachers at university. More...
Inheritance diagram for
DAOTeachersTest:
 
 | Public Attributes | |
| $id | |
| $name | |
| Protected Member Functions | |
| create_table_object () | |
| Create the table object describing this
dataobejcts table. | |
Detailed Description
A test class, representing teachers at university.
Definition at line 8 of file teacherstest.model.php.
Member Function Documentation
| DAOTeachersTest::create_table_object | ( | ) | [protected] | 
Create the table object describing this dataobejcts table.
Reimplemented from DataObjectBase.
Definition at line 12 of file teacherstest.model.php.
00012 { 00013 return new DBTable( 00014 'teacherstest', 00015 array( 00016 new DBFieldInt('id', null, DBFieldInt::AUTOINCREMENT | DBFieldInt::UNSIGNED | DBFieldInt::NOT_NULL), 00017 new DBFieldText('name', 40, null, DBField::NOT_NULL), 00018 ), 00019 'id', 00020 null, 00021 null, 00022 new DBDriverMySqlMock() 00023 ); 00024 }
Member Data Documentation
| DAOTeachersTest::$id | 
Definition at line 9 of file teacherstest.model.php.
| DAOTeachersTest::$name | 
Definition at line 10 of file teacherstest.model.php.
The documentation for this class was generated from the following file:
- gyro/modules/simpletest/model/classes/teacherstest.model.php
