Why don't I have access to setReadDataOnly() or enableMemoryOptimization() in PHPExcel?
Posted
by
Edward Tanguay
on Stack Overflow
See other posts from Stack Overflow
or by Edward Tanguay
Published on 2010-12-28T10:49:53Z
Indexed on
2010/12/28
10:54 UTC
Read the original article
Hit count: 251
I've downloaded PHPExcel 1.7.5 Production.
I would like to use setReadDataOnly() and enableMemoryOptimization() as discussed in their forum here and in stackoverflow questions.
However when I use them, I get a Call to undefined method
error.
Is there another version or some plugin or library that I have not installed? What do I have to do to access these methods?
$objPHPExcel = PHPExcel_IOFactory::load("data/".$file_name);
$objPHPExcel->setReadDataOnly(true); //Call to undefined method
$objPHPExcel->enableMemoryOptimization(); //Call to undefined method
© Stack Overflow or respective owner