kernel/classes/ezcontentobjecttreenode.php
function dataMap()
    {
        $object = $this->object();
        if ( self::$useCurrentUserDraft )
        {
             $draft = eZContentObjectVersion::fetchLatestUserDraft(
                 $object->attribute( 'id' ),
                 eZUser::currentUserID(),
                 $object->currentLanguageObject()->attribute( 'id' ),
                 $object->attribute( 'modified' )
             );

             if ( $draft instanceof eZContentObjectVersion )
                 return $object->fetchDataMap( $draft->attribute( 'version' ) );
        }
        return $object->fetchDataMap( $this->attribute( 'contentobject_version' ) );
    }
function dataMap()
    {
        $object = $this->object();
        if ( self::$useCurrentUserDraft )
        {
             $draft = eZContentObjectVersion::fetchLatestUserDraft(
                 $object->attribute( 'id' ),
                 eZUser::currentUserID(),
                 $object->currentLanguageObject()->attribute( 'id' ),
                 $object->attribute( 'modified' )
             );

             if ( $draft instanceof eZContentObjectVersion )
                 return $object->fetchDataMap( $draft->attribute( 'version' ) );
        }
        return $object->fetchDataMap( $this->attribute( 'contentobject_version' ) );
    }
function dataMap ( ) { $ object = $ this -> object ( ) ; if ( self :: $ useCurrentUserDraft ) { $ draft = eZContentObjectVersion :: fetchLatestUserDraft ( $ object -> attribute ( 'id' ) , eZUser :: currentUserID ( ) , $ object -> currentLanguageObject ( ) -> attribute ( 'id' ) , $ object -> attribute ( 'modified' ) ) ; if ( $ draft instanceof eZContentObjectVersion ) return $ object -> fetchDataMap ( $ draft -> attribute ( 'version' ) ) ; } return $ object -> fetchDataMap ( $ this -> attribute ( 'contentobject_version' ) ) ; }
Returns an array with all the content object attributes where the keys are the attribute identifiers.

@see eZContentObject::fetchDataMap()
@return eZContentObjectAttribute[]
Returns an array with all the content object attributes where the keys are the attribute identifiers .