You are here

public function PHPExcel_RichText_Run::__construct in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/RichText/Run.php \PHPExcel_RichText_Run::__construct()

Create a new PHPExcel_RichText_Run instance

Parameters

string $pText Text:

Overrides PHPExcel_RichText_TextElement::__construct

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/RichText/Run.php, line 48

Class

PHPExcel_RichText_Run
PHPExcel_RichText_Run

Code

public function __construct($pText = '') {

  // Initialise variables
  $this
    ->setText($pText);
  $this->_font = new PHPExcel_Style_Font();
}