class UserAuditLogUserAdminConfig 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

int|string
cbChangesChangedBy(int|string $userId)

No description

string|null
cbChangesChangedFields(int|string $id)

No description

false|mixed
cbChangesMessage(int|string $id, string|null $message)

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

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?

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()

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 60
int|string cbChangesChangedBy(int|string $userId)

No description

Parameters

int|string $userId

Return Value

int|string

at line 45
string|null cbChangesChangedFields(int|string $id)

No description

Parameters

int|string $id

Return Value

string|null

at line 79
false|mixed cbChangesMessage(int|string $id, string|null $message)

No description

Parameters

int|string $id
string|null $message

Return Value

false|mixed

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 20
void init()

No description

Return Value

void

in UserAdminConfig at line 37
bool isAdminContext()

Is tab called from administration?

Return Value

bool

in UserAdminConfig at line 116
bool isAvailable()

Should tab be loaded and shown?

Return Value

bool

at line 89
void process()

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

Return Value

void

at line 96
string render()

No description

Return Value

string

Exceptions

ContentException

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