ClearPass Guest 3.9 | Deployment Guide
Reference |
459
Formats a monetary amount for display purposes. The current page language is used to adjust formatting to
the country specified. Returns a result that is guaranteed to be in UTF-8.
The
$format
argument may be null, to specify the default behavior (U.S. English format), or it may be a
pattern string containing the following:
currency symbol (prefix)
thousands separator
decimal point
number of decimal places
The format
“€1.000,00
” uses the Euro sign as the currency symbol, “
.
” as the thousands separator, “
,
” as the
decimal point, and 2 decimal places.
If not specified explicitly, the default format is “
$1,000.00
”.
NwaParseCsv
NwaParseCsv($text, $options = null)
Parses text containing comma-separated values and returns the result as a list of records, where each
record contains a list of fields. Supports CSV escaping using double quotes.
$options
may be specified to control additional parsing options described in the table below.
Table 44
Parsing Options
Function
Description
fs
The field separator character (default is comma “,”)
rs
The record separator character (default is newline “\n”)
quo
The quote character (default is double quote ")
excel_compatible
If true, recognize
="..."
syntax as well as
"..."
(default true)
dos_compatible
If true, convert \r\n line endings to \n (default true)
encoding
If set, specifies the input character set to convert from (default not set)
out_charset
If set, specifies the desired character set to convert to using the iconv() function .
(default is "UTF-8//TRANSLIT")
max_records
maximum number of records to return
max_fields
maximum number of fields per record
skip_records
number of records to skip at start of input
skip_fields
number of fields to skip at start of each record
sort
post-processing option; order string for NwaCreateUsortFunc to sort the records by the
specified column(s)
slice_offset
post-processing option: starting offset of slice to return; see array_slice() function
slice_length
post-processing option: length of slice to return; see array_slice() function
Summary of Contents for ClearPass Guest 3.9
Page 1: ...ClearPass Guest 3 9 Deployment Guide ...
Page 32: ...32 Management Overview ClearPass Guest 3 9 Deployment Guide ...
Page 178: ...178 RADIUS Services ClearPass Guest 3 9 Deployment Guide ...
Page 316: ...316 Guest Management ClearPass Guest 3 9 Deployment Guide ...
Page 410: ...410 Administrator Tasks ClearPass Guest 3 9 Deployment Guide ...
Page 414: ...414 Administrator Tasks ClearPass Guest 3 9 Deployment Guide ...
Page 423: ...ClearPass Guest 3 9 Deployment Guide Hotspot Manager 423 ...
Page 440: ...440 High Availability Services ClearPass Guest 3 9 Deployment Guide ...
Page 518: ...518 Index ClearPass Guest 3 9 Deployment Guide ...