public function toForm(){
        $returnValue = null;

        $choiceFormClass = '\\oat\\taoQtiItem\\controller\\QTIform\\choice\\'.ucfirst(static::$qtiTagName);
        if(!class_exists($choiceFormClass)){
            throw new QtiModelException("the class {$choiceFormClass} does not exist");
        }else{
            $formContainer = new $choiceFormClass($this);
            $myForm = $formContainer->getForm();
            $returnValue = $myForm;
        }

        return $returnValue;
    }
public function toForm(){
        $returnValue = null;

        $choiceFormClass = '\\oat\\taoQtiItem\\controller\\QTIform\\choice\\'.ucfirst(static::$qtiTagName);
        if(!class_exists($choiceFormClass)){
            throw new QtiModelException("the class {$choiceFormClass} does not exist");
        }else{
            $formContainer = new $choiceFormClass($this);
            $myForm = $formContainer->getForm();
            $returnValue = $myForm;
        }

        return $returnValue;
    }
public function toForm ( ) { $ returnValue = null ; $ choiceFormClass = '\\oat\\taoQtiItem\\controller\\QTIform\\choice\\' . ucfirst ( static :: $ qtiTagName ) ; if ( ! class_exists ( $ choiceFormClass ) ) { throw new QtiModelException ( "the class {$choiceFormClass} does not exist" ) ; } else { $ formContainer = new $ choiceFormClass ( $ this ) ; $ myForm = $ formContainer -> getForm ( ) ; $ returnValue = $ myForm ; } return $ returnValue ; }
Return the form to edit the current instance

@access public
@author Bertrand Chevrier, <bertrand.chevrier@tudor.lu>
@return tao_helpers_form_Form
Return the form to edit the current instance