General: Magic __toString() method added to Cell object to return raw data value as a string
This commit is contained in:
parent
0b60b61104
commit
7fae37247b
|
@ -935,5 +935,15 @@ class PHPExcel_Cell
|
|||
return $this->_formulaAttributes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert to string
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return (string) $this->getValue();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -81,6 +81,8 @@ Fixed in develop branch:
|
|||
- Feature: (MBaker) Modified ERF and ERFC Engineering functions to accept Excel 2010's modified acceptance of negative arguments
|
||||
- General: (alexgann) Add Currency detection to the Advanced Value Binder
|
||||
- General: (MBaker) Work item 18404 - setCellValueExplicitByColumnAndRow() do not return PHPExcel_Worksheet
|
||||
- General: (MBaker) Work item 18324 - Reader factory doesn't read anymore XLTX and XLT files
|
||||
- General: (MBaker) Magic __toString() method added to Cell object to return raw data value as a string
|
||||
- Bugfix: (cyberconte) Patch 12318 - OOCalc cells containing <text:span> inside the <text:p> tag
|
||||
- Bugfix: (schir1964) Fix to listWorksheetInfo() method for OOCalc Reader
|
||||
- Bugfix: (MBaker) Support for "e" (epoch) date format mask
|
||||
|
|
Loading…
Reference in New Issue