| [ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
PHPExcel Copyright (c) 2006 - 2014 PHPExcel
| Copyright: | Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel) |
| License: | http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL |
| Version: | ##VERSION##, ##DATE## |
| File Size: | 711 lines (21 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
PHPExcel_Style_NumberFormat:: (17 methods):
__construct()
getSharedComponent()
getStyleArray()
applyFromArray()
getFormatCode()
setFormatCode()
getBuiltInFormatCode()
setBuiltInFormatCode()
fillBuiltInFormatCodes()
builtInFormatCode()
builtInFormatCodeIndex()
getHashCode()
_formatAsDate()
_formatAsPercentage()
_formatAsFraction()
_complexNumberFormatMask()
toFormattedString()
Class: PHPExcel_Style_NumberFormat - X-Ref
PHPExcel_Style_NumberFormat| __construct($isSupervisor = FALSE, $isConditional = FALSE) X-Ref |
| Create a new PHPExcel_Style_NumberFormat param: boolean $isSupervisor Flag indicating if this is a supervisor or not param: boolean $isConditional Flag indicating if this is a conditional style or not |
| getSharedComponent() X-Ref |
| Get the shared style component for the currently active cell in currently active sheet. Only used for style supervisor return: PHPExcel_Style_NumberFormat |
| getStyleArray($array) X-Ref |
| Build style array from subcomponents param: array $array return: array |
| applyFromArray($pStyles = null) X-Ref |
| Apply styles from array <code> $objPHPExcel->getActiveSheet()->getStyle('B2')->getNumberFormat()->applyFromArray( array( 'code' => PHPExcel_Style_NumberFormat::FORMAT_CURRENCY_EUR_SIMPLE ) ); </code> param: array $pStyles Array containing style information return: PHPExcel_Style_NumberFormat |
| getFormatCode() X-Ref |
| Get Format Code return: string |
| setFormatCode($pValue = PHPExcel_Style_NumberFormat::FORMAT_GENERAL) X-Ref |
| Set Format Code param: string $pValue return: PHPExcel_Style_NumberFormat |
| getBuiltInFormatCode() X-Ref |
| Get Built-In Format Code return: int |
| setBuiltInFormatCode($pValue = 0) X-Ref |
| Set Built-In Format Code param: int $pValue return: PHPExcel_Style_NumberFormat |
| fillBuiltInFormatCodes() X-Ref |
| Fill built-in format codes |
| builtInFormatCode($pIndex) X-Ref |
| Get built-in format code param: int $pIndex return: string |
| builtInFormatCodeIndex($formatCode) X-Ref |
| Get built-in format code index param: string $formatCode return: int|boolean |
| getHashCode() X-Ref |
| Get hash code return: string Hash code |
| _formatAsDate(&$value, &$format) X-Ref |
| No description |
| _formatAsPercentage(&$value, &$format) X-Ref |
| No description |
| _formatAsFraction(&$value, &$format) X-Ref |
| No description |
| _complexNumberFormatMask($number, $mask) X-Ref |
| No description |
| toFormattedString($value = '0', $format = PHPExcel_Style_NumberFormat::FORMAT_GENERAL, $callBack = null) X-Ref |
| Convert a value in a pre-defined format to a PHP string param: mixed $value Value to format param: string $format Format code param: array $callBack Callback function for additional formatting of string return: string Formatted string |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |