protected function marshall(QtiComponent $component)
    {
        $element = self::getDOMCradle()->createElement('col');

        if ($component->getSpan() !== 1) {
            $this->setDOMElementAttribute($element, 'span', $component->getSpan());
        }

        $this->fillElement($element, $component);

        return $element;
    }
protected function marshall(QtiComponent $component)
    {
        $element = self::getDOMCradle()->createElement('col');

        if ($component->getSpan() !== 1) {
            $this->setDOMElementAttribute($element, 'span', $component->getSpan());
        }

        $this->fillElement($element, $component);

        return $element;
    }
protected function marshall ( QtiComponent $ component ) { $ element = self :: getDOMCradle ( ) -> createElement ( 'col' ) ; if ( $ component -> getSpan ( ) !== 1 ) { $ this -> setDOMElementAttribute ( $ element , 'span' , $ component -> getSpan ( ) ) ; } $ this -> fillElement ( $ element , $ component ) ; return $ element ; }
Marshall a Col object into a DOMElement object.

@param \QtiComponent $component A Col object.
@return \DOMElement The according DOMElement object.
@throws \qtism\data\storage\xml\marshalling\MarshallingException
Marshall a Col object into a DOMElement object .