Why don't I have access to setReadDataOnly() or enableMemoryOptimization() in PHPExcel?
- by Edward Tanguay
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