public function load($uri, $validate = false)
    {
        $this->loadImplementation($uri, $validate, false);

        // We now are sure that the URI is valid.
        $this->setUrl($uri);
    }
public function load($uri, $validate = false)
    {
        $this->loadImplementation($uri, $validate, false);

        // We now are sure that the URI is valid.
        $this->setUrl($uri);
    }
public function load ( $ uri , $ validate = false ) { $ this -> loadImplementation ( $ uri , $ validate , false ) ; // We now are sure that the URI is valid. $ this -> setUrl ( $ uri ) ; }
Load a QTI-XML assessment file. The file will be loaded and represented in
an AssessmentTest object.

If the XmlDocument object was previously with a QTI version which does not
correspond to version in use in the loaded file, the version found into
the file will supersede the version specified at instantiation time.

@param string $uri The Uniform Resource Identifier that identifies/locate the file.
@param boolean $validate Whether or not the file must be validated unsing XML Schema? Default is false.
@throws \qtism\data\storage\xml\XmlStorageException If an error occurs while loading the QTI-XML file.
Load a QTI - XML assessment file . The file will be loaded and represented in an AssessmentTest object .