You are here

public function TestObjectMetadata::getFieldNames in Plug 7

A numerically indexed list of field names of this persistent class.

This array includes identifier fields if present on this class.

Return value

array

Overrides ClassMetadata::getFieldNames

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php, line 172

Class

TestObjectMetadata

Namespace

Doctrine\Tests\Common\Persistence

Code

public function getFieldNames() {
  return array(
    'id',
    'name',
  );
}