EntityEditorConfig
Table of Contents
Constants
-
CATEGORY_NAME
= 'crm.entity.editor'
Methods
-
__construct()
: mixed
-
canDoOperation()
: mixed
-
check()
: mixed
-
createWithCurrentScope()
: mixed
-
forceCommonScopeForAll()
: mixed
-
get()
: mixed
-
getFormField()
: array<string|int, mixed>|null
-
getScope()
: mixed
-
getUserID()
: mixed
-
getUserScopeId()
: mixed
-
isEntityTypeSupported()
: mixed
-
isFormFieldVisible()
: bool
-
normalize()
: mixed
-
reset()
: mixed
-
sanitize()
: mixed
-
set()
: mixed
-
setCurrentScope()
: mixed
-
setScope()
: mixed
-
setUserID()
: mixed
-
setUserScopeId()
: mixed
CATEGORY_NAME
public
mixed
CATEGORY_NAME
= 'crm.entity.editor'
__construct()
public
__construct(mixed $entityTypeID, mixed $userID, mixed $scope, array<string|int, mixed> $extras) : mixed
Parameters
-
$entityTypeID
: mixed
-
-
$userID
: mixed
-
-
$scope
: mixed
-
-
$extras
: array<string|int, mixed>
-
canDoOperation()
public
canDoOperation(mixed $operation) : mixed
Parameters
-
$operation
: mixed
-
check()
public
check(array<string|int, mixed> &$data, array<string|int, mixed> &$errors) : mixed
Parameters
-
$data
: array<string|int, mixed>
-
-
$errors
: array<string|int, mixed>
-
createWithCurrentScope()
public
static createWithCurrentScope(int $entityTypeId[, array<string|int, mixed> $extras = [] ]) : mixed
Parameters
-
$entityTypeId
: int
-
-
$extras
: array<string|int, mixed>
= []
-
forceCommonScopeForAll()
public
forceCommonScopeForAll() : mixed
get()
public
get() : mixed
public
getFormField(string $fieldName) : array<string|int, mixed>|null
Parameters
-
$fieldName
: string
-
Return values
array<string|int, mixed>|null
getScope()
public
getScope() : mixed
getUserID()
public
getUserID() : mixed
getUserScopeId()
public
getUserScopeId() : mixed
isEntityTypeSupported()
public
static isEntityTypeSupported(mixed $entityTypeID) : mixed
Parameters
-
$entityTypeID
: mixed
-
public
isFormFieldVisible(string $fieldName) : bool
Parameters
-
$fieldName
: string
-
normalize()
public
normalize(array<string|int, mixed> $data[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
-
$data
: array<string|int, mixed>
-
-
$options
: array<string|int, mixed>
= []
-
reset()
public
reset() : mixed
sanitize()
public
sanitize(array<string|int, mixed> $data) : mixed
Parameters
-
$data
: array<string|int, mixed>
-
set()
public
set(array<string|int, mixed> $data) : mixed
Parameters
-
$data
: array<string|int, mixed>
-
setCurrentScope()
public
setCurrentScope() : mixed
setScope()
public
setScope(mixed $scope) : mixed
Parameters
-
$scope
: mixed
-
setUserID()
public
setUserID(mixed $userID) : mixed
Parameters
-
$userID
: mixed
-
setUserScopeId()
public
setUserScopeId(int $userScopeId) : mixed
Parameters
-
$userScopeId
: int
-