From b0fd47beee28289bcf9401f20d0af8496f8d90a5 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Fri, 8 Oct 2010 14:47:11 +0000 Subject: [PATCH] Remove some spurious methods and attributes from the SYLK Reader git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62017 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Reader/SYLK.php | 87 -------------------------------- 1 file changed, 87 deletions(-) diff --git a/Classes/PHPExcel/Reader/SYLK.php b/Classes/PHPExcel/Reader/SYLK.php index 0678aec5..7df8db20 100644 --- a/Classes/PHPExcel/Reader/SYLK.php +++ b/Classes/PHPExcel/Reader/SYLK.php @@ -57,27 +57,6 @@ class PHPExcel_Reader_SYLK implements PHPExcel_Reader_IReader */ private $_inputEncoding; - /** - * Delimiter - * - * @var string - */ - private $_delimiter; - - /** - * Enclosure - * - * @var string - */ - private $_enclosure; - - /** - * Line ending - * - * @var string - */ - private $_lineEnding; - /** * Sheet index to read * @@ -111,9 +90,6 @@ class PHPExcel_Reader_SYLK implements PHPExcel_Reader_IReader */ public function __construct() { $this->_inputEncoding = 'ANSI'; - $this->_delimiter = ';'; - $this->_enclosure = '"'; - $this->_lineEnding = PHP_EOL; $this->_sheetIndex = 0; $this->_readFilter = new PHPExcel_Reader_DefaultReadFilter(); } @@ -423,69 +399,6 @@ class PHPExcel_Reader_SYLK implements PHPExcel_Reader_IReader return $objPHPExcel; } - /** - * Get delimiter - * - * @return string - */ - public function getDelimiter() { - return $this->_delimiter; - } - - /** - * Set delimiter - * - * @param string $pValue Delimiter, defaults to , - * @return PHPExcel_Reader_SYLK - */ - public function setDelimiter($pValue = ',') { - $this->_delimiter = $pValue; - return $this; - } - - /** - * Get enclosure - * - * @return string - */ - public function getEnclosure() { - return $this->_enclosure; - } - - /** - * Set enclosure - * - * @param string $pValue Enclosure, defaults to " - * @return PHPExcel_Reader_SYLK - */ - public function setEnclosure($pValue = '"') { - if ($pValue == '') { - $pValue = '"'; - } - $this->_enclosure = $pValue; - return $this; - } - - /** - * Get line ending - * - * @return string - */ - public function getLineEnding() { - return $this->_lineEnding; - } - - /** - * Set line ending - * - * @param string $pValue Line ending, defaults to OS line ending (PHP_EOL) - * @return PHPExcel_Reader_SYLK - */ - public function setLineEnding($pValue = PHP_EOL) { - $this->_lineEnding = $pValue; - return $this; - } - /** * Get sheet index *