General performance improvements, and specific improvements in the CSV Reader

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65064 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker
2010-12-09 12:07:50 +00:00
parent 500a8e763e
commit 1fad8bd2dd
23 changed files with 800 additions and 902 deletions
+15 -16
View File
@@ -49,7 +49,7 @@ class PHPExcel_DocumentProperties
*
* @var string
*/
private $_creator;
private $_creator = 'Unknown Creator';
/**
* LastModifiedBy
@@ -77,42 +77,49 @@ class PHPExcel_DocumentProperties
*
* @var string
*/
private $_title;
private $_title = 'Untitled Spreadsheet';
/**
* Description
*
* @var string
*/
private $_description;
private $_description = '';
/**
* Subject
*
* @var string
*/
private $_subject;
private $_subject = '';
/**
* Keywords
*
* @var string
*/
private $_keywords;
private $_keywords = '';
/**
* Category
*
* @var string
*/
private $_category;
private $_category = '';
/**
* Manager
*
* @var string
*/
private $_manager = '';
/**
* Company
*
* @var string
*/
private $_company;
private $_company = 'Microsoft Corporation';
/**
* Custom Properties
@@ -128,17 +135,9 @@ class PHPExcel_DocumentProperties
public function __construct()
{
// Initialise values
$this->_creator = 'Unknown Creator';
$this->_lastModifiedBy = $this->_creator;
$this->_created = time();
$this->_modified = time();
$this->_title = "Untitled Spreadsheet";
$this->_subject = '';
$this->_description = '';
$this->_keywords = '';
$this->_category = '';
$this->_manager = '';
$this->_company = 'Microsoft Corporation';
$this->_modified = time();
}
/**