Documentation

Settings_Colors_SaveAjax_Action extends Settings_Vtiger_Basic_Action
in package

Ajax save actions handler class.

Table of Contents

$csrfActive  : bool
CSRF is active?.
$headers  : Headers
$activatedCsrf  : bool
Activated csrf.
$activatedLocale  : bool
Activated language locale.
$exposedMethods  : array<string|int, string>
Control the exposure of methods to be invoked from client (kind-of RPC).
__construct()  : mixed
Class constructor.
activeModuleColor()  : mixed
Activate/deactivate module color.
addPicklistColorColumn()  : mixed
Add picklist color column in db table.
checkPermission()  : mixed
Function to check permission.
invokeExposedMethod()  : type
Function invokes exposed methods for this class.
isMethodExposed()  : bool
Function checks if the method is exposed for client usage.
isSessionExtend()  : bool
Function to check if session is extended.
loginRequired()  : bool
Function to check login required permission.
postProcess()  : mixed
Post process function.
postProcessAjax()  : mixed
Post process ajax function.
preProcess()  : mixed
Pre process function.
preProcessAjax()  : mixed
Pre process ajax function.
process()  : mixed
Process function.
removeCalendarColor()  : mixed
Remove calendar event type color.
removeFieldColor()  : mixed
Remove field color.
removeGroupColor()  : mixed
Remove group color.
removeModuleColor()  : mixed
Remove module color.
removePicklistValueColor()  : mixed
Remove picklist value color.
removeUserColor()  : mixed
Remove user color.
sendHeaders()  : mixed
Send headers.
updateCalendarColor()  : mixed
Update calendar event type color.
updateFieldColor()  : mixed
Update field color.
updateFieldPinnedStatus()  : mixed
updateGroupColor()  : mixed
Update group color.
updateModuleColor()  : mixed
Update module color.
updatePicklistValueColor()  : mixed
Update picklist value color.
updateUserColor()  : mixed
Update user color.
validateRequest()  : bool
Function to validate request method.
exposeMethod()  : mixed
Function that will expose methods for external access.

Properties

$csrfActive

CSRF is active?.

public bool $csrfActive = true

$headers

public Headers $headers

Headers instance.

$activatedCsrf

Activated csrf.

protected static bool $activatedCsrf = false

$activatedLocale

Activated language locale.

protected static bool $activatedLocale = false

$exposedMethods

Control the exposure of methods to be invoked from client (kind-of RPC).

protected array<string|int, string> $exposedMethods = []

Methods

__construct()

Class constructor.

public __construct() : mixed
Return values
mixed

activeModuleColor()

Activate/deactivate module color.

public activeModuleColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

addPicklistColorColumn()

Add picklist color column in db table.

public addPicklistColorColumn(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

checkPermission()

Function to check permission.

public abstract checkPermission(Request $request) : mixed
Parameters
$request : Request
Tags
throws
NoPermitted
Return values
mixed

invokeExposedMethod()

Function invokes exposed methods for this class.

public invokeExposedMethod() : type
Tags
throws
AppException
Return values
type

isMethodExposed()

Function checks if the method is exposed for client usage.

public isMethodExposed(string $name) : bool
Parameters
$name : string
  • method name
Return values
bool

isSessionExtend()

Function to check if session is extended.

public isSessionExtend(Request $request) : bool
Parameters
$request : Request
Return values
bool

loginRequired()

Function to check login required permission.

public loginRequired() : bool
Return values
bool

postProcess()

Post process function.

public postProcess(Request $request[, bool $display = true ]) : mixed
Parameters
$request : Request
$display : bool = true
Return values
mixed

postProcessAjax()

Post process ajax function.

public postProcessAjax(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

preProcess()

Pre process function.

public preProcess(Request $request[, bool $display = true ]) : mixed
Parameters
$request : Request
$display : bool = true
Return values
mixed

preProcessAjax()

Pre process ajax function.

public preProcessAjax(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

process()

Process function.

public abstract process(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

removeCalendarColor()

Remove calendar event type color.

public removeCalendarColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

removeFieldColor()

Remove field color.

public removeFieldColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

removeGroupColor()

Remove group color.

public removeGroupColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

removeModuleColor()

Remove module color.

public removeModuleColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

removePicklistValueColor()

Remove picklist value color.

public removePicklistValueColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

removeUserColor()

Remove user color.

public removeUserColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

sendHeaders()

Send headers.

public sendHeaders() : mixed
Return values
mixed

updateCalendarColor()

Update calendar event type color.

public updateCalendarColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

updateFieldColor()

Update field color.

public updateFieldColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

updateFieldPinnedStatus()

public updateFieldPinnedStatus(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

updateGroupColor()

Update group color.

public updateGroupColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

updateModuleColor()

Update module color.

public updateModuleColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

updatePicklistValueColor()

Update picklist value color.

public updatePicklistValueColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

updateUserColor()

Update user color.

public updateUserColor(Request $request) : mixed
Parameters
$request : Request
Return values
mixed

validateRequest()

Function to validate request method.

public validateRequest(Request $request) : bool
Parameters
$request : Request
Return values
bool

exposeMethod()

Function that will expose methods for external access.

protected exposeMethod(string $name) : mixed
Parameters
$name : string
  • method name
Return values
mixed

        

Search results