protected function getTemplateQtiVariables(){
        $variables = array();
        $variables['tag'] = static::$qtiTagName;
        $variables['attributes'] = $this->getAttributeValues();
        if($this instanceof FlowContainer){
            $variables['body'] = $this->getBody()->toQTI();
        }

        return $variables;
    }
protected function getTemplateQtiVariables(){
        $variables = array();
        $variables['tag'] = static::$qtiTagName;
        $variables['attributes'] = $this->getAttributeValues();
        if($this instanceof FlowContainer){
            $variables['body'] = $this->getBody()->toQTI();
        }

        return $variables;
    }
protected function getTemplateQtiVariables ( ) { $ variables = array ( ) ; $ variables [ 'tag' ] = static :: $ qtiTagName ; $ variables [ 'attributes' ] = $ this -> getAttributeValues ( ) ; if ( $ this instanceof FlowContainer ) { $ variables [ 'body' ] = $ this -> getBody ( ) -> toQTI ( ) ; } return $ variables ; }
Get the variables to be used in the qti.xml template

@return array
Get the variables to be used in the qti . xml template