Dell PowerConnect W-Clearpass 100 Software Betriebsanweisung Seite 457

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 518
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 456
ClearPass Guest 3.9 | Deployment Guide Reference | 457
Programmer’s Reference
NwaAlnumPassword
NwaAlnumPassword($len)
Generates an alpha-numeric password (mixed case) of length $len characters.
NwaBoolFormat
NwaBoolFormat($value, $options = null)
Formats a boolean value as a string. If 3 function arguments are supplied, the 2nd and 3rd arguments are the
values to return for false and true, respectively. Otherwise, the $options parameter specifies how to do
the conversion:
If an integer 0 or 1, the string values0” and “1” are returned.
If a string containing a “|” character, the string is split at this separator and used as the values for false
and true respectively.
If an array, the 0 and 1 index values are used for false and true values.
Otherwise, the string values “true” and “false” are returned.
NwaByteFormat
NwaByteFormat($bytes, $unknown = null)
Formats a non-negative size in bytes as a human readable number (bytes, KB, MB, GB, etc.) Assumes that 1
KB = 1024 bytes, 1 MB = 1024 KB, etc. If a negative value is supplied, returns the $unknown string. If a non-
numeric value is supplied, that value is returned directly.
NwaByteFormatBase10
NwaByteFormatBase10($bytes, $unknown = null)
Formats a non-negative size in bytes as a human readable number (bytes, KB, MB, GB, etc.) Assumes “base
10” rules in measurement; that is, 1 KB = 1000 bytes, 1 MB = 1000 KB, etc. If a negative value is supplied,
returns the $unknown string. If a non-numeric value is supplied, that value is returned directly.
NwaComplexPassword
NwaComplexPassword($len = 8)
Generates complex passwords of at least $len characters in length, where $len must be at least 4. A
complex password includes at least 1 each of a lower case character, upper case character, digit, and
punctuation (symbol).
NwaCsvCache
NwaCsvCache($csv_file, $use_cache = true, $options = null)
Loads and parses the contents of a CSV file, using a built-in cache. The cache may be cleaned for a specific
file by setting $use_cache to false. The cache may be cleaned for ALL files by setting $csv_file to the
empty string and $use_cache to false.
CSV parsing options ( “NwaParseCsv”) may be specified in $options. Additionally, a 2-argument form
of this function may be used by passing an array of $options as the second argument; in this case,
$use_cache is assumed to be true. This function returns false if the file does not exist; otherwise, returns
an array of arrays containing each of the parsed records from the file.
Seitenansicht 456
1 2 ... 452 453 454 455 456 457 458 459 460 461 462 ... 517 518

Kommentare zu diesen Handbüchern

Keine Kommentare