class SettingsUserConfig extends UserAdminConfig

Class SettingsHook

Properties

SystemNotificationController $mod
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

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

getObject()

No description

from  BaseHook
mixed
getOption(string $key)

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

from  BaseHook
bool
getShowInAdminContext()

Returns true if this config should be shown in admin mode

string
getTitle()

No description

bool
hidden()

Is Tab hidden?

init()

No description

bool
isAdminContext()

Is tab called from administration?

bool
isAvailable()

No description

void
process()

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

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

in BaseHook at line 88
getObject()

No description

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

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

in UserAdminConfig at line 137
bool hidden()

Is Tab hidden?

Return Value

bool

at line 24
init()

No description

in UserAdminConfig at line 37
bool isAdminContext()

Is tab called from administration?

Return Value

bool

at line 143
bool isAvailable()

No description

Return Value

bool

at line 33
void process()

No description

Return Value

void

at line 41
string render()

No description

Return Value

string

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