Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit f92cd96

Browse files
author
Mark Baker
committed
namespace updates
1 parent 143d52a commit f92cd96

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Classes/PHPExcel/Worksheet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2243,7 +2243,7 @@ public function getComment($pCellCoordinate = 'A1')
22432243
*/
22442244
public function getCommentByColumnAndRow($pColumn = 0, $pRow = 1)
22452245
{
2246-
return $this->getComment(PHPExcel\Cell::stringFromColumnIndex($pColumn) . $pRow);
2246+
return $this->getComment(Cell::stringFromColumnIndex($pColumn) . $pRow);
22472247
}
22482248

22492249
/**

Classes/PHPExcel/Worksheet/Protection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2020
*
2121
* @category PHPExcel
22-
* @package PHPExcel_Worksheet
22+
* @package PHPExcel\Worksheet
2323
* @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
2424
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
2525
* @version ##VERSION##, ##DATE##
@@ -29,7 +29,7 @@
2929
namespace PHPExcel;
3030

3131
/**
32-
* PHPExcel_Worksheet_Protection
32+
* PHPExcel\Worksheet_Protection
3333
*
3434
* @category PHPExcel
3535
* @package PHPExcel\Worksheet

Examples/07reader.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
date_default_timezone_set('Europe/London');
3535

36-
/** Include PHPExcel_IOFactory */
37-
require_once '../Classes/PHPExcel/IOFactory.php';
36+
/** Include PHPExcel Bootstrap */
37+
require_once '../Classes/Bootstrap.php';
3838

3939

4040
if (!file_exists("05featuredemo.xlsx")) {
@@ -44,7 +44,7 @@
4444
echo date('H:i:s') , " Load from Excel2007 file" , EOL;
4545
$callStartTime = microtime(true);
4646

47-
$objPHPExcel = PHPExcel_IOFactory::load("05featuredemo.xlsx");
47+
$objPHPExcel = PHPExcel\IOFactory::load("05featuredemo.xlsx");
4848

4949
$callEndTime = microtime(true);
5050
$callTime = $callEndTime - $callStartTime;
@@ -56,7 +56,7 @@
5656
echo date('H:i:s') , " Write to Excel2007 format" , EOL;
5757
$callStartTime = microtime(true);
5858

59-
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');
59+
$objWriter = PHPExcel\IOFactory::createWriter($objPHPExcel, 'Excel2007');
6060
$objWriter->save(str_replace('.php', '.xlsx', __FILE__));
6161

6262
$callEndTime = microtime(true);

0 commit comments

Comments
 (0)