public function ClassMetadata::getIdentifierValues in Plug 7
Returns the identifier of this object as an array with field name as key.
Has to return an empty array if no identifier isset.
Parameters
object $object:
Return value
array
2 methods override ClassMetadata::getIdentifierValues()
- LazyLoadableObjectClassMetadata::getIdentifierValues in lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ LazyLoadableObjectClassMetadata.php - Returns the identifier of this object as an array with field name as key.
- TestObjectMetadata::getIdentifierValues in lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ PersistentObjectTest.php - Returns the identifier of this object as an array with field name as key.
File
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ ClassMetadata.php, line 173
Class
- ClassMetadata
- Contract for a Doctrine persistence layer ClassMetadata class to implement.
Namespace
Doctrine\Common\Persistence\MappingCode
public function getIdentifierValues($object);