[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 752 lines (28 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PHPExcel_Style_NumberFormat:: (19 methods):
__construct()
getSharedComponent()
getStyleArray()
applyFromArray()
getFormatCode()
setFormatCode()
getBuiltInFormatCode()
setBuiltInFormatCode()
fillBuiltInFormatCodes()
builtInFormatCode()
builtInFormatCodeIndex()
getHashCode()
setLowercaseCallback()
escapeQuotesCallback()
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 |
setLowercaseCallback($matches) X-Ref |
No description |
escapeQuotesCallback($matches) X-Ref |
No description |
formatAsDate(&$value, &$format) X-Ref |
No description |
formatAsPercentage(&$value, &$format) X-Ref |
No description |
formatAsFraction(&$value, &$format) X-Ref |
No description |
complexNumberFormatMask($number, $mask, $level = 0) 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: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |