Properties

$dependencies

$dependencies : 

Type

$shortcuts

$shortcuts : 

Type

$singleton

$singleton : 

Type

$class_hash

$class_hash : 

Type

$bridgedb

$bridgedb : 

Type

$prefix

$prefix : 

Type

$objBridge

$objBridge : 

Type

$status

$status : 

Type

$type

$type : 

Type

$_shorts

$_shorts : 

Type

$_shorts_loaded

$_shorts_loaded : 

Type

$_class_index

$_class_index : 

Type

Methods

__get()

__get(  $name) 

Parameters

$name

__isset()

__isset(  $name) 

Parameters

$name

__dependencies()

__dependencies() 

__shortcuts()

__shortcuts() 

__destruct()

__destruct() 

__construct()

__construct() 

Construct

login()

login(string  $strUsername, string  $strPassword, boolean  $boolSetAutoLogin = false, boolean  $boolUseHash = false, boolean  $blnCreateUser = true, boolean  $boolUsePassword = true) : boolean|array

Login using the Bridge Requires working Bridge Connection.

Parameters

string $strUsername
string $strPassword
boolean $boolSetAutoLogin
boolean $boolUseHash
boolean $blnCreateUser
boolean $boolUsePassword

Returns

boolean|array

logout()

logout() : boolean

Logout Requires working Bridge Connection.

Returns

boolean —

always true

autologin()

autologin(array  $arrCookieData) : boolean

Autologin for Bridge Requires working Bridge Connection.

Parameters

array $arrCookieData

Returns

boolean

deactivate_bridge()

deactivate_bridge() 

Deactivate the Bridge

get_settings()

get_settings() : array

Returns the Bridge specific settings

Returns

array

sync_fields()

sync_fields(integer  $user_id, array  $arrUserdata) 

Syncs the Fields of a User from CMS to EQdkp Requires working Bridge Connection.

Parameters

integer $user_id
array $arrUserdata

get_available_sync_fields()

get_available_sync_fields() : array

Returns array with all available Sync Fields from CMS Requires working Bridge Connection.

Returns

array

get_user_groups()

get_user_groups(boolean  $blnWithID = false) : mixed

Get all Usergroups from CMS.

Requires working Bridge Connection.

Parameters

boolean $blnWithID

Append GroupID to Groupname

Returns

mixed

get_userdata()

get_userdata(string  $name) : mixed

Get CMS Userdata of a CMS User.

Requires working Bridge Connection.

Parameters

string $name

Returns

mixed

get_users()

get_users() : mixed

Get all Users from the CMS.

Requires working Bridge Connection.

Returns

mixed

sync_usergroups()

sync_usergroups(integer  $intCMSUserID, integer  $intUserID) : boolean

Sync the Usergroups of the User with CMS

Parameters

integer $intCMSUserID
integer $intUserID

Returns

boolean

get_usergroups_for_user()

get_usergroups_for_user(integer  $intUserID) : boolean|\multitype:unknown

Returns array with the Usergroup-IDs the CMS User is member of.

Requires working Bridge Connection.

Parameters

integer $intUserID

Returns

boolean|\multitype:unknown

check_user_group()

check_user_group(integer  $intUserID) : boolean

Checks if User is in defined CMS Groups Requires working Bridge Connection.

Parameters

integer $intUserID

Returns

boolean

check_user_group_table()

check_user_group_table() : boolean

Checks if Usergroups Table of CMS is accessable.

Requires working Bridge Connection.

Returns

boolean —

True if accessable, otherwise false

get_prefix()

get_prefix() : array

Returns all Prefixes for Bridge Database.

Requires working Bridge Connection.

Returns

array

get_available_bridges()

get_available_bridges() : array

Returns array will all available Bridges

Returns

array

get_sync_email()

get_sync_email() 

init()

init() : boolean

Include the Bridge file

Returns

boolean

connect()

connect() 

Initialize the Bridge Database Connection

check_query()

check_query(string  $key) : mixed|boolean

Checks if there is an special Query instead of the predefined.

Returns false if there is none, otherwise returns the Querystring.

Parameters

string $key

Returns

mixed|boolean

check_function()

check_function(string  $key) : boolean

Checks if there is an special Function instead of the predefined.

Parameters

string $key

Returns

boolean