ClearPass Guest 3.9 | Deployment Guide
Reference |
461
NwaVLookup
NwaVLookup($value, $table, $column_index, $range_lookup = true, $value_column = 0,
$cmp_fn = null)
Table lookup function, similar to the Excel function VLOOKUP(). This function searches for a value in the
first column of a table and returns a value in the same row from another column in the table. This function
supports the values described in the table below.
Note the following differences from Excel VLOOKUP:
Column indexes are 0-based.
Column indexes can also be strings.
See
“NwaParseCsv”
and
“NwaCsvCache”
.
NwaWordsPassword
NwaWordsPassword($len)
Generates a password consisting of two randomly-chosen words, separated by a small number (1 or 2
digits); that is, in the format
word1
XX
word2
. The random words selected will have a maximum length of
$len
characters, and a minimum length of 3 characters.
$len
must be at least 3.
Field, Form and View Reference
GuestManager Standard Fields
The table below describes standard fields available for the GuestManager form.
Table 45
NwaVLookup Options
Option
Description
$value
The value to look for
$table
A 2D array of data to search; for example, a data table returned by NwaCsvCache() or
NwaParseCsv()
$column_index
The desired index of the data
$range_lookup
Specifies whether to find an exact or approximate match.
If true (default), assumes the table is sorted and returns either an exact match, or the
match from the row with the next largest value that is less than
$value
. If false, only an
exact match is returned; NULL is returned on no match
value_column
Specifies the column index in the table that contains the values; the default is 0; in other
words, the first column.
$cmp_fn
Specifies a comparison function to use for values; if null, the default is used (simple
equality operator ==, or the == and > operators if using binary search).
The comparison function should take 2 arguments and return a value < 0, == 0, > 0
depending on the sort ordering of the arguments.
Содержание ClearPass Guest 3.9
Страница 1: ...ClearPass Guest 3 9 Deployment Guide ...
Страница 32: ...32 Management Overview ClearPass Guest 3 9 Deployment Guide ...
Страница 178: ...178 RADIUS Services ClearPass Guest 3 9 Deployment Guide ...
Страница 316: ...316 Guest Management ClearPass Guest 3 9 Deployment Guide ...
Страница 328: ...328 Report Management ClearPass Guest 3 9 Deployment Guide Figure 46 Components of the Report Editor Report Type ...
Страница 410: ...410 Administrator Tasks ClearPass Guest 3 9 Deployment Guide ...
Страница 414: ...414 Administrator Tasks ClearPass Guest 3 9 Deployment Guide ...
Страница 423: ...ClearPass Guest 3 9 Deployment Guide Hotspot Manager 423 ...
Страница 440: ...440 High Availability Services ClearPass Guest 3 9 Deployment Guide ...
Страница 518: ...518 Index ClearPass Guest 3 9 Deployment Guide ...