Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 132... Línea 132...
132
            $rowData = $this->getNextUTF8EncodedRow();
132
            $rowData = $this->getNextUTF8EncodedRow();
133
        } while ($this->shouldReadNextRow($rowData));
133
        } while ($this->shouldReadNextRow($rowData));
Línea 134... Línea 134...
134
 
134
 
135
        if (false !== $rowData) {
135
        if (false !== $rowData) {
136
            // array_map will replace NULL values by empty strings
136
            // array_map will replace NULL values by empty strings
137
            $rowDataBufferAsArray = array_map('\\strval', $rowData);
137
            $rowDataBufferAsArray = array_map('\strval', $rowData);
138
            $this->rowBuffer = new Row(array_map(static function ($cellValue) {
138
            $this->rowBuffer = new Row(array_map(static function ($cellValue) {
139
                return Cell::fromValue($cellValue);
139
                return Cell::fromValue($cellValue);
140
            }, $rowDataBufferAsArray), null);
140
            }, $rowDataBufferAsArray), null);
141
            ++$this->numReadRows;
141
            ++$this->numReadRows;