\coreProfileFactory

This factory class generates either a ProfileRADIUS or a ProfileSilverbullet as needed. Indication which to choose is by supported EAP types in the profile in question

Summary

Methods
Properties
Constants
instantiate()
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

instantiate()

instantiate(  profileId, \core\IdP  idpObject = NULL) : \core\AbstractProfile

is this profile a RADIUS profile or SILVERBULLET? find out, and return an instance of the instantiated sub-class as appropriate

Parameters

profileId

ID of the profile in DB

\core\IdP idpObject

optional. If the IdP is already instantiated then the instance can be passed here to avoid another instantiation

Returns

\core\AbstractProfile —

a sub-class of AbstractProfile matching the type