Box\Spout\Reader\ODS\Sheet::__construct PHP Метод

__construct() публичный Метод

public __construct ( Box\Spout\Reader\Wrapper\XMLReader $xmlReader, integer $sheetIndex, string $sheetName, Box\Spout\Reader\ODS\ReaderOptions $options )
$xmlReader Box\Spout\Reader\Wrapper\XMLReader XML Reader, positioned on the "" element
$sheetIndex integer Index of the sheet, based on order in the workbook (zero-based)
$sheetName string Name of the sheet
$options Box\Spout\Reader\ODS\ReaderOptions Reader's current options
    public function __construct($xmlReader, $sheetIndex, $sheetName, $options)
    {
        $this->rowIterator = new RowIterator($xmlReader, $options);
        $this->index = $sheetIndex;
        $this->name = $sheetName;
    }