class FakeRecord

Dummy class for fetching into a class.

PDO supports using a new instance of an arbitrary class for records rather than just a stdClass or array. This class is for testing that functionality. (See testQueryFetchClass() below)

Hierarchy

Expanded class hierarchy of FakeRecord

1 string reference to 'FakeRecord'
DatabaseFetchTestCase::testQueryFetchClass in drupal-7.x/modules/simpletest/tests/database_test.test
Confirm that we can fetch a record into a new instance of a custom class.

File

drupal-7.x/modules/simpletest/tests/database_test.test, line 10

View source
class FakeRecord {
}

Members

Contains filters are case sensitive