You are here

public function PHPExcel_Style_NumberFormat::getStyleArray in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/NumberFormat.php \PHPExcel_Style_NumberFormat::getStyleArray()

* Build style array from subcomponents * *

Parameters

array $array: * @return array

3 calls to PHPExcel_Style_NumberFormat::getStyleArray()
PHPExcel_Style_NumberFormat::applyFromArray in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/NumberFormat.php
* Apply styles from array * * <code> * $objPHPExcel->getActiveSheet()->getStyle('B2')->getNumberFormat()->applyFromArray( * array( * 'code' =>…
PHPExcel_Style_NumberFormat::setBuiltInFormatCode in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/NumberFormat.php
* Set Built-In Format Code * *
PHPExcel_Style_NumberFormat::setFormatCode in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/NumberFormat.php
* Set Format Code * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/NumberFormat.php, line 144

Class

PHPExcel_Style_NumberFormat
PHPExcel_Style_NumberFormat

Code

public function getStyleArray($array) {
  return array(
    'numberformat' => $array,
  );
}