Home > PHP > Function > Radius > radius_get_vendor_attr()

radius_get_vendor_attr()

radius_get_vendor_attr - Extracts a vendor specific attribute

Syntax

array radius_get_vendor_attr (string $data)

Arguments

  • data - Type is RADIUS_ACCESS_REQUEST or RADIUS_ACCOUNTING_REQUEST.

Description

If radius_get_attr() returns RADIUS_VENDOR_SPECIFIC, radius_get_vendor_attr() may be called to determine the vendor.

Version

PHP PECL radius >= 1.1.0

Return value

Returns an associative array containing the attribute-type, vendor and the data, or FALSE on error.