Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 11... Línea 11...
11
abstract class AbstractWriter implements WriterInterface
11
abstract class AbstractWriter implements WriterInterface
12
{
12
{
13
    /** @var resource Pointer to the file/stream we will write to */
13
    /** @var resource Pointer to the file/stream we will write to */
14
    protected $filePointer;
14
    protected $filePointer;
Línea 15... Línea -...
15
 
-
 
16
    /** @var string document creator */
-
 
17
    protected string $creator = 'OpenSpout';
-
 
18
 
15
 
19
    /** @var string Content-Type value for the header - to be defined by child class */
16
    /** @var string Content-Type value for the header - to be defined by child class */
Línea 20... Línea 17...
20
    protected static string $headerContentType;
17
    protected static string $headerContentType;
21
 
18
 
Línea 120... Línea 117...
120
        foreach ($rows as $row) {
117
        foreach ($rows as $row) {
121
            $this->addRow($row);
118
            $this->addRow($row);
122
        }
119
        }
123
    }
120
    }
Línea 124... Línea -...
124
 
-
 
125
    final public function setCreator(string $creator): void
-
 
126
    {
-
 
127
        $this->creator = $creator;
-
 
128
    }
-
 
129
 
121
 
130
    final public function getWrittenRowCount(): int
122
    final public function getWrittenRowCount(): int
131
    {
123
    {
132
        return $this->writtenRowCount;
124
        return $this->writtenRowCount;