class UserDevicesUserConfig extends UserAdminConfig

Properties

Controller $mod

Instance providing the hook

from  BaseHook
array $_hook_info

Hook Information "id" => "4914" "instance_id" => "api_microsoft" "name" => "oauth_client" "hook" => "webservice.oauth_client" "type" => "object" "registry_name" => "oauth_client" "function_name" => "" "internal" => "no" "dep_mode" => "local" "active" => "yes" "title" => "Basic functions" "description" => "" "options" => ""

from  BaseHook
protected string $formName from  UserAdminConfig
protected bool $adminContext

If hook is used in administration this var is set to true

from  UserAdminConfig
protected string $title

Title of the tab

from  UserAdminConfig
protected string $iconClass

Icon Class

from  UserAdminConfig
protected ?int $userId

User ID

from  UserAdminConfig
protected int $tabId

Tab ID

from  UserAdminConfig
protected bool $processResult from  UserAdminConfig
protected array $processMessage from  UserAdminConfig
protected bool $showInAdminContext from  UserAdminConfig

Methods

string|null
extractAuthCode(string $onboardingURL)

No description

array|mixed
getData()

No description

string
getFormName()

No description

string
getHookDescription()

No description

from  BaseHook
string
getHookIdentifier()

Get Hook identifier consists of instance_id puncto separator and hook name Ex. instance_id.name

from  BaseHook
array
getHookInfoValue(bool $key = false)

Return Hook information (ID, InstanceID, Name, Hook Type, Object Type, ...)

from  BaseHook
string
getHookInstance()

No description

from  BaseHook
string
getHookName()

No description

from  BaseHook
string
getHookTitle()

No description

from  BaseHook
string
getIconClass()

No description

getOauth()

No description

getObject()

No description

from  BaseHook
string|null
getOnboardingUrl(bool $isAdminContext = false)

No description

mixed
getOption(string $key)

Returns the option with $key set in the config.yml

from  BaseHook
xm_pdfcreator
getPdfCreator()

No description

bool
getShowInAdminContext()

Returns true if this config should be shown in admin mode

string
getTitle()

No description

bool
hidden()

No description

void
init()

No description

bool
isAdminContext()

Is tab called from administration?

bool
isAvailable()

Should tab be loaded and shown?

void
process()

Can be used for saving/processing data, will be called before render()

void
processOnboardingModal()

No description

string
render()

No description

array|null
saveData()

Can be used for saving/processing data. Wraps process for additional flash messages

void
setAdminContext(bool $adminContext)

Set if tab called from admin

void
setTabId(int $tabId)

No description

void
setUserId(int $userId)

No description

bool
showInSidebar()

No description

Details

at line 252
string|null extractAuthCode(string $onboardingURL)

No description

Parameters

string $onboardingURL

Return Value

string|null

in UserAdminConfig at line 161
protected array|mixed getData()

No description

Return Value

array|mixed

in UserAdminConfig at line 22
string getFormName()

No description

Return Value

string

in BaseHook at line 76
string getHookDescription()

No description

Return Value

string

in BaseHook at line 55
string getHookIdentifier()

Get Hook identifier consists of instance_id puncto separator and hook name Ex. instance_id.name

Return Value

string

in BaseHook at line 45
array getHookInfoValue(bool $key = false)

Return Hook information (ID, InstanceID, Name, Hook Type, Object Type, ...)

Parameters

bool $key

Return Value

array

in BaseHook at line 69
string getHookInstance()

No description

Return Value

string

in BaseHook at line 62
string getHookName()

No description

Return Value

string

in BaseHook at line 83
string getHookTitle()

No description

Return Value

string

in UserAdminConfig at line 72
string getIconClass()

No description

Return Value

string

at line 34
OAuthServerAction getOauth()

No description

Return Value

OAuthServerAction

in BaseHook at line 88
getObject()

No description

at line 489
string|null getOnboardingUrl(bool $isAdminContext = false)

No description

Parameters

bool $isAdminContext

Return Value

string|null

in BaseHook at line 97
mixed getOption(string $key)

Returns the option with $key set in the config.yml

Parameters

string $key

Return Value

mixed

at line 48
xm_pdfcreator getPdfCreator()

No description

Return Value

xm_pdfcreator

in UserAdminConfig at line 154
bool getShowInAdminContext()

Returns true if this config should be shown in admin mode

Return Value

bool

in UserAdminConfig at line 59
string getTitle()

No description

Return Value

string

at line 41
WebserviceController getWebService()

No description

Return Value

WebserviceController

at line 335
bool hidden()

No description

Return Value

bool

at line 52
void init()

No description

Return Value

void

in UserAdminConfig at line 37
bool isAdminContext()

Is tab called from administration?

Return Value

bool

at line 57
bool isAvailable()

Should tab be loaded and shown?

Return Value

bool

at line 78
void process()

Can be used for saving/processing data, will be called before render()

Return Value

void

at line 356
void processOnboardingModal()

No description

Return Value

void

at line 159
string render()

No description

Return Value

string

Exceptions

ContentException
Exception

in UserAdminConfig at line 124
final array|null saveData()

Can be used for saving/processing data. Wraps process for additional flash messages

Return Value

array|null Message

in UserAdminConfig at line 46
void setAdminContext(bool $adminContext)

Set if tab called from admin

Parameters

bool $adminContext

Return Value

void

in UserAdminConfig at line 98
void setTabId(int $tabId)

No description

Parameters

int $tabId

Return Value

void

in UserAdminConfig at line 85
void setUserId(int $userId)

No description

Parameters

int $userId

Return Value

void

in UserAdminConfig at line 141
bool showInSidebar()

No description

Return Value

bool