kernel/classes/ezdatatype.php
function createContentObjectAttributeDOMNode( $objectAttribute )
    {
        $dom = new DOMDocument( '1.0', 'utf-8' );

        $node = $dom->createElementNS( 'http://ez.no/object/', 'ezobject:attribute' );

        $node->setAttributeNS( 'http://ez.no/ezobject', 'ezremote:id', $objectAttribute->attribute( 'id' ) );
        $node->setAttributeNS( 'http://ez.no/ezobject', 'ezremote:identifier', $objectAttribute->contentClassAttributeIdentifier() );
        $node->setAttribute( 'name', $objectAttribute->contentClassAttributeName() );
        $node->setAttribute( 'type', $this->isA() );

        return $node;
    }
function createContentObjectAttributeDOMNode( $objectAttribute )
    {
        $dom = new DOMDocument( '1.0', 'utf-8' );

        $node = $dom->createElementNS( 'http://ez.no/object/', 'ezobject:attribute' );

        $node->setAttributeNS( 'http://ez.no/ezobject', 'ezremote:id', $objectAttribute->attribute( 'id' ) );
        $node->setAttributeNS( 'http://ez.no/ezobject', 'ezremote:identifier', $objectAttribute->contentClassAttributeIdentifier() );
        $node->setAttribute( 'name', $objectAttribute->contentClassAttributeName() );
        $node->setAttribute( 'type', $this->isA() );

        return $node;
    }
function createContentObjectAttributeDOMNode ( $ objectAttribute ) { $ dom = new DOMDocument ( '1.0' , 'utf-8' ) ; $ node = $ dom -> createElementNS ( 'http://ez.no/object/' , 'ezobject:attribute' ) ; $ node -> setAttributeNS ( 'http://ez.no/ezobject' , 'ezremote:id' , $ objectAttribute -> attribute ( 'id' ) ) ; $ node -> setAttributeNS ( 'http://ez.no/ezobject' , 'ezremote:identifier' , $ objectAttribute -> contentClassAttributeIdentifier ( ) ) ; $ node -> setAttribute ( 'name' , $ objectAttribute -> contentClassAttributeName ( ) ) ; $ node -> setAttribute ( 'type' , $ this -> isA ( ) ) ; return $ node ; }
Create empty content object attribute DOM node.

The result is intended to be used in a datatype's
serializeContentObjectAttribute() method.

\return "Empty" DOM node
Create empty content object attribute DOM node .