public function getIdentifyingData()
    {
        $keys = array_keys($this->getEntityDescription()->getIdentifyingProperties());

        $data = array();

        foreach ($keys as $key) {
            if ($this->_data->isMaterialized($key)) {
                $value = $this->get($key);

                if ($value) {
                    $data[$key] = $value;
                }
            }
        }

        return $data;
    }
public function getIdentifyingData()
    {
        $keys = array_keys($this->getEntityDescription()->getIdentifyingProperties());

        $data = array();

        foreach ($keys as $key) {
            if ($this->_data->isMaterialized($key)) {
                $value = $this->get($key);

                if ($value) {
                    $data[$key] = $value;
                }
            }
        }

        return $data;
    }
public function getIdentifyingData ( ) { $ keys = array_keys ( $ this -> getEntityDescription ( ) -> getIdentifyingProperties ( ) ) ; $ data = array ( ) ; foreach ( $ keys as $ key ) { if ( $ this -> _data -> isMaterialized ( $ key ) ) { $ value = $ this -> get ( $ key ) ; if ( $ value ) { $ data [ $ key ] = $ value ; } } } return $ data ; }
Return an array of data that can be used to identify this entity.

@return array
Return an array of data that can be used to identify this entity .