kernel/private/api/content/field_set.php
public static function fromDataMap( $dataMap )
    {
        $set = new ezpContentFieldSet();
        foreach( $dataMap as $attribute )
        {
            $identifier = $attribute->attribute( 'contentclass_attribute_identifier' );
            $set->fields[$identifier] = ezpContentField::fromContentObjectAttribute( $attribute );
        }
        $set->initIterator();
        return $set;
    }
public static function fromDataMap( $dataMap )
    {
        $set = new ezpContentFieldSet();
        foreach( $dataMap as $attribute )
        {
            $identifier = $attribute->attribute( 'contentclass_attribute_identifier' );
            $set->fields[$identifier] = ezpContentField::fromContentObjectAttribute( $attribute );
        }
        $set->initIterator();
        return $set;
    }
public static function fromDataMap ( $ dataMap ) { $ set = new ezpContentFieldSet ( ) ; foreach ( $ dataMap as $ attribute ) { $ identifier = $ attribute -> attribute ( 'contentclass_attribute_identifier' ) ; $ set -> fields [ $ identifier ] = ezpContentField :: fromContentObjectAttribute ( $ attribute ) ; } $ set -> initIterator ( ) ; return $ set ; }
Initializes a level two ezpContentFieldSet from a content object data map
@param array $dataMap
@return ezpContentFieldSet
Initializes a level two ezpContentFieldSet from a content object data map