private function processRecord(Variable $variable)
    {
        $processedValues = array();
        $baseType = $variable->getBaseType();
        $mappingIndicator = $this->getComponent()->getMappingIndicator();

        foreach ($variable->getValue() as $k => $v) {
            $processedValues[] = "${k}${mappingIndicator}" . $this->processValue(Utils::inferBaseType($v), $v);
        }

        return implode($this->getComponent()->getDelimiter(), $processedValues);
    }
private function processRecord(Variable $variable)
    {
        $processedValues = array();
        $baseType = $variable->getBaseType();
        $mappingIndicator = $this->getComponent()->getMappingIndicator();

        foreach ($variable->getValue() as $k => $v) {
            $processedValues[] = "${k}${mappingIndicator}" . $this->processValue(Utils::inferBaseType($v), $v);
        }

        return implode($this->getComponent()->getDelimiter(), $processedValues);
    }
private function processRecord ( Variable $ variable ) { $ processedValues = array ( ) ; $ baseType = $ variable -> getBaseType ( ) ; $ mappingIndicator = $ this -> getComponent ( ) -> getMappingIndicator ( ) ; foreach ( $ variable -> getValue ( ) as $ k => $ v ) { $ processedValues [ ] = "${k}${mappingIndicator}" . $ this -> processValue ( Utils :: inferBaseType ( $ v ) , $ v ) ; } return implode ( $ this -> getComponent ( ) -> getDelimiter ( ) , $ processedValues ) ; }
Processes all values of a record container and merge them into
a single string.

@param \qtism\runtime\common\RecordContainer $variable The record to process.
@return string All the key/values delimited by printedVariable->delimiter. Indicator between keys and values is defined by printedVariable->mappingIndicator.
Processes all values of a record container and merge them into a single string .