\web\lib\adminOptionParser

This class parses HTML field input from POST and FILES and extracts valid and authorized options to be set.

Summary

Methods
Properties
Constants
__construct()
processSubmittedFields()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() : 

initialises the various handles.

Returns

processSubmittedFields()

processSubmittedFields(  object, mixed|string|int  postArray, mixed|string|int  filesArray,   eaptype = NULL,   device = NULL) : 

The main function: takes all HTML field inputs, makes sense of them and stores valid data in the database

Parameters

object

The object for which attributes were submitted

mixed|string|int postArray

incoming attribute names and values as submitted with $_POST

mixed|string|int filesArray

incoming attribute names and values as submitted with $_FILES

eaptype

for eap-specific attributes (only used where $object is a ProfileRADIUS instance)

device

for device-specific attributes (only used where $object is a ProfileRADIUS instance)

Throws

\Exception

Returns

text to be displayed in UI with the summary of attributes added