public static function createFromAssessmentSection(AssessmentSection $assessmentSection)
    {
        $extended = new static($assessmentSection->getIdentifier(), $assessmentSection->getTitle(), $assessmentSection->isVisible());
        $extended->setKeepTogether($assessmentSection->mustKeepTogether());
        $extended->setSelection($assessmentSection->getSelection());
        $extended->setOrdering($assessmentSection->getOrdering());
        $extended->setRubricBlocks($assessmentSection->getRubricBlocks());
        $extended->setSectionParts($assessmentSection->getSectionParts());
        $extended->setRequired($assessmentSection->isRequired());
        $extended->setPreConditions($assessmentSection->getPreConditions());
        $extended->setBranchRules($assessmentSection->getBranchRules());
        $extended->setItemSessionControl($assessmentSection->getItemSessionControl());
        $extended->setTimeLimits($assessmentSection->getTimeLimits());

        return $extended;
    }
public static function createFromAssessmentSection(AssessmentSection $assessmentSection)
    {
        $extended = new static($assessmentSection->getIdentifier(), $assessmentSection->getTitle(), $assessmentSection->isVisible());
        $extended->setKeepTogether($assessmentSection->mustKeepTogether());
        $extended->setSelection($assessmentSection->getSelection());
        $extended->setOrdering($assessmentSection->getOrdering());
        $extended->setRubricBlocks($assessmentSection->getRubricBlocks());
        $extended->setSectionParts($assessmentSection->getSectionParts());
        $extended->setRequired($assessmentSection->isRequired());
        $extended->setPreConditions($assessmentSection->getPreConditions());
        $extended->setBranchRules($assessmentSection->getBranchRules());
        $extended->setItemSessionControl($assessmentSection->getItemSessionControl());
        $extended->setTimeLimits($assessmentSection->getTimeLimits());

        return $extended;
    }
public static function createFromAssessmentSection ( AssessmentSection $ assessmentSection ) { $ extended = new static ( $ assessmentSection -> getIdentifier ( ) , $ assessmentSection -> getTitle ( ) , $ assessmentSection -> isVisible ( ) ) ; $ extended -> setKeepTogether ( $ assessmentSection -> mustKeepTogether ( ) ) ; $ extended -> setSelection ( $ assessmentSection -> getSelection ( ) ) ; $ extended -> setOrdering ( $ assessmentSection -> getOrdering ( ) ) ; $ extended -> setRubricBlocks ( $ assessmentSection -> getRubricBlocks ( ) ) ; $ extended -> setSectionParts ( $ assessmentSection -> getSectionParts ( ) ) ; $ extended -> setRequired ( $ assessmentSection -> isRequired ( ) ) ; $ extended -> setPreConditions ( $ assessmentSection -> getPreConditions ( ) ) ; $ extended -> setBranchRules ( $ assessmentSection -> getBranchRules ( ) ) ; $ extended -> setItemSessionControl ( $ assessmentSection -> getItemSessionControl ( ) ) ; $ extended -> setTimeLimits ( $ assessmentSection -> getTimeLimits ( ) ) ; return $ extended ; }
Create a new ExtendedAssessmentSection object from an existing
AssessmentSection object.

@param \qtism\data\AssessmentSection $assessmentSection An AssessmentSection object.
@return \qtism\data\ExtendedAssessmentSection An ExtendedAssessmentSection object built from $assessmentSection.
Create a new ExtendedAssessmentSection object from an existing AssessmentSection object .