protected function unmarshall(DOMElement $element)
    {
        $baseComponent = parent::unmarshall($element);
        $object = new NumberPresented();
        $object->setSectionIdentifier($baseComponent->getSectionIdentifier());
        $object->setIncludeCategories($baseComponent->getIncludeCategories());
        $object->setExcludeCategories($baseComponent->getExcludeCategories());

        return $object;
    }
protected function unmarshall(DOMElement $element)
    {
        $baseComponent = parent::unmarshall($element);
        $object = new NumberPresented();
        $object->setSectionIdentifier($baseComponent->getSectionIdentifier());
        $object->setIncludeCategories($baseComponent->getIncludeCategories());
        $object->setExcludeCategories($baseComponent->getExcludeCategories());

        return $object;
    }
protected function unmarshall ( DOMElement $ element ) { $ baseComponent = parent :: unmarshall ( $ element ) ; $ object = new NumberPresented ( ) ; $ object -> setSectionIdentifier ( $ baseComponent -> getSectionIdentifier ( ) ) ; $ object -> setIncludeCategories ( $ baseComponent -> getIncludeCategories ( ) ) ; $ object -> setExcludeCategories ( $ baseComponent -> getExcludeCategories ( ) ) ; return $ object ; }
Marshall an numberPresented QTI element in its NumberPresented object equivalent.

@param \DOMElement A DOMElement object.
@return \qtism\data\QtiComponent The corresponding NumberPresented object.
Marshall an numberPresented QTI element in its NumberPresented object equivalent .