public function PHPExcel_RichText::getPlainText in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/RichText.php \PHPExcel_RichText::getPlainText()
Get plain text
Return value
string
1 call to PHPExcel_RichText::getPlainText()
- PHPExcel_RichText::__toString in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ RichText.php - Convert to string
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ RichText.php, line 116
Class
- PHPExcel_RichText
- PHPExcel_RichText
Code
public function getPlainText() {
// Return value
$returnValue = '';
// Loop through all PHPExcel_RichText_ITextElement
foreach ($this->_richTextElements as $text) {
$returnValue .= $text
->getText();
}
// Return
return $returnValue;
}