phpDocumentor Developer
[ class tree: Developer ] [ index: Developer ] [ all elements ]

Class: EAP

Source Location: /core/EAP.php

Class EAP

Class Overview

Convenience functions for EAP types

Located in /core/EAP.php [line 43]



		
				Author(s):
		
		
		
Information Tags:
License:  see

Properties

Methods

[ Top ]
Property Summary
static array   $EAP_NONE   NULL: no outer EAP, no inner EAP
static array   $FAST_GTC   EAP-FAST (GTC): Outer EAP type = 43, Inner EAP Type = 6
static array   $PEAP_MSCHAP2   PEAP-MSCHAPv2: Outer EAP Type = 25, Inner EAP Type = 26
static array   $PWD   PWD: Outer EAP type = 52, no inner EAP
static array   $TLS   EAP-TLS: Outer EAP Type = 13, no inner EAP
static array   $TTLS_GTC   TTLS-GTC: Outer EAP type = 21, Inner EAP Type = 6
static array   $TTLS_MSCHAP2   TTLS-MSCHAP-v2: Outer EAP type = 21, Inner EAP Type = 26
static array   $TTLS_PAP   TTLS-PAP: Outer EAP type = 21, no inner EAP

[ Top ]
Method Summary
static array   eapDisplayName()   This function takes the EAP method in array representation (OUTER/INNER) and returns it in a custom format for the Linux installers (not numbers, but strings as values).
static mixed   EAPMethodIdFromArray()   Returns the (integer) row number in the database for a given EAP type.
static array   listKnownEAPTypes()   This function retrieves all known EAP types from the database and returns them as an array

[ Top ]
Properties
static array   $EAP_NONE = array("OUTER" => NONE, "INNER" => NONE) [line 109]

NULL: no outer EAP, no inner EAP

API Tags:
Access:  public


[ Top ]
static array   $FAST_GTC = array("OUTER" => FAST, "INNER" => GTC) [line 95]

EAP-FAST (GTC): Outer EAP type = 43, Inner EAP Type = 6

API Tags:
Access:  public


[ Top ]
static array   $PEAP_MSCHAP2 = array("OUTER" => PEAP, "INNER" => MSCHAP2) [line 60]

PEAP-MSCHAPv2: Outer EAP Type = 25, Inner EAP Type = 26

API Tags:
Access:  public


[ Top ]
static array   $PWD = array("OUTER" => PWD, "INNER" => NONE) [line 102]

PWD: Outer EAP type = 52, no inner EAP

API Tags:
Access:  public


[ Top ]
static array   $TLS = array("OUTER" => TLS, "INNER" => NONE) [line 67]

EAP-TLS: Outer EAP Type = 13, no inner EAP

API Tags:
Access:  public


[ Top ]
static array   $TTLS_GTC = array("OUTER" => TTLS, "INNER" => GTC) [line 88]

TTLS-GTC: Outer EAP type = 21, Inner EAP Type = 6

API Tags:
Access:  public


[ Top ]
static array   $TTLS_MSCHAP2 = array("OUTER" => TTLS, "INNER" => MSCHAP2) [line 81]

TTLS-MSCHAP-v2: Outer EAP type = 21, Inner EAP Type = 26

API Tags:
Access:  public


[ Top ]
static array   $TTLS_PAP = array("OUTER" => TTLS, "INNER" => NONE) [line 74]

TTLS-PAP: Outer EAP type = 21, no inner EAP

API Tags:
Access:  public


[ Top ]
Methods
static method eapDisplayName  [line 117]

  static array eapDisplayName( array $eap  )

This function takes the EAP method in array representation (OUTER/INNER) and returns it in a custom format for the Linux installers (not numbers, but strings as values).

Parameters:
array   $eap:  EAP method in array representation (OUTER/INNER)

API Tags:
Return:  EAP method in array representation (OUTER as string/INNER as string)
Access:  public


[ Top ]
static method EAPMethodIdFromArray  [line 150]

  static mixed EAPMethodIdFromArray( array $method_array  )

Returns the (integer) row number in the database for a given EAP type.

If not found in DB, returns FALSE

Parameters:
array   $method_array: 

API Tags:
Access:  public


[ Top ]
static method listKnownEAPTypes  [line 135]

  static array listKnownEAPTypes( )

This function retrieves all known EAP types from the database and returns them as an array


API Tags:
Return:  of all EAP types the CAT knows about (as stored in the database)
Access:  public


[ Top ]

Documentation generated on Wed, 08 Apr 2015 07:12:46 +0000 by phpDocumentor 1.4.4