PHP Class Gdn_AuthenticationProviderModel, vanilla

Inheritance: extends Gdn_Model
Show file Open project: vanilla/vanilla Class Usage Examples

Public Methods

Method Description
__construct ( )
getDefault ( ) : array Return the default provider.
getProviderByKey ( $AuthenticationProviderKey ) : array | boolean | stdClass
getProviderByScheme ( $AuthenticationSchemeAlias, null $UserID = null ) : array | boolean | stdClass
getProviderByURL ( $AuthenticationProviderURL ) : array | boolean | stdClass
getProviders ( ) : array | null | type
getWhereStatic ( boolean $Where = false, string $OrderFields = '', string $OrderDirection = 'asc', boolean $Limit = false, boolean $Offset = false ) : array | null
save ( array $Data, boolean $Settings = false ) : boolean

Protected Methods

Method Description
calculate ( &$Row )

Method Details

__construct() public method

public __construct ( )

calculate() protected static method

protected static calculate ( &$Row )
$Row

getDefault() public static method

Return the default provider.
public static getDefault ( ) : array
return array

getProviderByKey() public static method

public static getProviderByKey ( $AuthenticationProviderKey ) : array | boolean | stdClass
$AuthenticationProviderKey
return array | boolean | stdClass

getProviderByScheme() public static method

public static getProviderByScheme ( $AuthenticationSchemeAlias, null $UserID = null ) : array | boolean | stdClass
$AuthenticationSchemeAlias
$UserID null
return array | boolean | stdClass

getProviderByURL() public static method

public static getProviderByURL ( $AuthenticationProviderURL ) : array | boolean | stdClass
$AuthenticationProviderURL
return array | boolean | stdClass

getProviders() public method

public getProviders ( ) : array | null | type
return array | null | type

getWhereStatic() public static method

public static getWhereStatic ( boolean $Where = false, string $OrderFields = '', string $OrderDirection = 'asc', boolean $Limit = false, boolean $Offset = false ) : array | null
$Where boolean
$OrderFields string
$OrderDirection string
$Limit boolean
$Offset boolean
return array | null

save() public method

public save ( array $Data, boolean $Settings = false ) : boolean
$Data array
$Settings boolean
return boolean