Vtiger_Fields_Action
extends Action
in package
Uses
ExposeMethod
Fields Action Class.
Tags
Table of Contents
- $headers : Headers
- $activatedLocale : bool
- $exposedMethods : array<string|int, string>
- Control the exposure of methods to be invoked from client (kind-of RPC).
- $fieldModel : Vtiger_Field_Model
- Field model instance.
- $csrfInitiated : bool
- __construct() : mixed
- changeFavoriteOwner() : void
- Change favorite owner state.
- checkPermission() : mixed
- Function to check permission.
- findAddress() : void
- Find address.
- getOwners() : void
- Get owners for ajax owners list.
- getReference() : void
- getUserRole() : void
- Search user roles.
- 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.
- sendHeaders() : mixed
- Send headers.
- validateByMode() : void
- Validate the value based on the type of purify.
- validateFile() : void
- Validate file.
- validateForField() : void
- Validate the field name and value.
- validateRequest() : void
- Function to validate request method.
- verifyPhoneNumber() : void
- Verify phone number.
- exposeMethod() : mixed
- Function that will expose methods for external access.
Properties
$headers
public
Headers
$headers
Headers instance.
$activatedLocale
protected
static bool
$activatedLocale
= false
Activated language locale.
$exposedMethods
Control the exposure of methods to be invoked from client (kind-of RPC).
protected
array<string|int, string>
$exposedMethods
= []
$fieldModel
Field model instance.
protected
Vtiger_Field_Model
$fieldModel
$csrfInitiated
private
static bool
$csrfInitiated
= false
CSRF already initiated.
Methods
__construct()
public
__construct() : mixed
Return values
mixed —changeFavoriteOwner()
Change favorite owner state.
public
changeFavoriteOwner(Request $request) : void
Parameters
- $request : Request
Tags
Return values
void —checkPermission()
Function to check permission.
public
checkPermission(Request $request) : mixed
Parameters
- $request : Request
Tags
Return values
mixed —findAddress()
Find address.
public
findAddress(Request $request) : void
Parameters
- $request : Request
Return values
void —getOwners()
Get owners for ajax owners list.
public
getOwners(Request $request) : void
Parameters
- $request : Request
Tags
Return values
void —getReference()
public
getReference(Request $request) : void
Parameters
- $request : Request
Tags
Return values
void —getUserRole()
Search user roles.
public
getUserRole(Request $request) : void
Parameters
- $request : Request
Tags
Return values
void —invokeExposedMethod()
Function invokes exposed methods for this class.
public
invokeExposedMethod() : type
Tags
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 —sendHeaders()
Send headers.
public
sendHeaders() : mixed
Return values
mixed —validateByMode()
Validate the value based on the type of purify.
public
validateByMode(Request $request) : void
Parameters
- $request : Request
Tags
Return values
void —validateFile()
Validate file.
public
validateFile(Request $request) : void
Parameters
- $request : Request
Return values
void —validateForField()
Validate the field name and value.
public
validateForField(Request $request) : void
Parameters
- $request : Request
Tags
Return values
void —validateRequest()
Function to validate request method.
public
validateRequest(Request $request) : void
Parameters
- $request : Request
Return values
void —verifyPhoneNumber()
Verify phone number.
public
verifyPhoneNumber(Request $request) : void
Parameters
- $request : Request
Tags
Return values
void —exposeMethod()
Function that will expose methods for external access.
protected
exposeMethod(string $name) : mixed
Parameters
- $name : string
-
- method name