protected function mapEntityList(array $list, $rowElementName = null)
    {
        if (is_null($rowElementName)) {
            $rowElementName = 'row';
        }
        $xml = '';
        $no = 1;
        foreach ($list as $element) {
            $xml .= '<' . $rowElementName . ' no="' . $no++ . '">';
            $xml .= $this->mapSingleEntity($element);
            $xml .= "</$rowElementName>";
        }

        return $xml;
    }
protected function mapEntityList(array $list, $rowElementName = null)
    {
        if (is_null($rowElementName)) {
            $rowElementName = 'row';
        }
        $xml = '';
        $no = 1;
        foreach ($list as $element) {
            $xml .= '<' . $rowElementName . ' no="' . $no++ . '">';
            $xml .= $this->mapSingleEntity($element);
            $xml .= "</$rowElementName>";
        }

        return $xml;
    }
protected function mapEntityList ( array $ list , $ rowElementName = null ) { if ( is_null ( $ rowElementName ) ) { $ rowElementName = 'row' ; } $ xml = '' ; $ no = 1 ; foreach ( $ list as $ element ) { $ xml .= '<' . $ rowElementName . ' no="' . $ no ++ . '">' ; $ xml .= $ this -> mapSingleEntity ( $ element ) ; $ xml .= "</$rowElementName>" ; } return $ xml ; }
Convert list of entities into XML

@param array  $list           List of Elements
@param string $rowElementName Element name
@return string XML $list
Convert list of entities into XML