Update library PHPExcel to version 1.7.3
This commit is contained in:
@@ -22,35 +22,20 @@
|
||||
* @package PHPExcel
|
||||
* @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
|
||||
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
|
||||
* @version 1.7.2, 2010-01-11
|
||||
* @version 1.7.3, 2010-05-17
|
||||
*/
|
||||
|
||||
|
||||
/** PHPExcel root directory */
|
||||
if (!defined('PHPEXCEL_ROOT')) {
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../');
|
||||
}
|
||||
|
||||
/** PHPExcel */
|
||||
require_once PHPEXCEL_ROOT . 'PHPExcel.php';
|
||||
|
||||
/** PHPExcel_Worksheet */
|
||||
require_once PHPEXCEL_ROOT . 'PHPExcel/Worksheet.php';
|
||||
|
||||
|
||||
/**
|
||||
* PHPExcel_WorksheetIterator
|
||||
*
|
||||
*
|
||||
* Used to iterate worksheets in PHPExcel
|
||||
*
|
||||
* @category PHPExcel
|
||||
* @package PHPExcel
|
||||
* @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
|
||||
*/
|
||||
class PHPExcel_WorksheetIterator extends IteratorIterator
|
||||
class PHPExcel_WorksheetIterator extends CachingIterator
|
||||
{
|
||||
/**
|
||||
* Spreadsheet to iterate
|
||||
@@ -58,7 +43,7 @@ class PHPExcel_WorksheetIterator extends IteratorIterator
|
||||
* @var PHPExcel
|
||||
*/
|
||||
private $_subject;
|
||||
|
||||
|
||||
/**
|
||||
* Current iterator position
|
||||
*
|
||||
@@ -75,14 +60,14 @@ class PHPExcel_WorksheetIterator extends IteratorIterator
|
||||
// Set subject
|
||||
$this->_subject = $subject;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
public function __destruct() {
|
||||
unset($this->_subject);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Rewind iterator
|
||||
*/
|
||||
|
Reference in New Issue
Block a user