Table of Contents
Constants
-
CONF_NAME
= 'global_const'
Methods
-
canUserDelete()
: bool
-
canUserRead()
: bool
-
canUserUpsert()
: bool
-
delete()
: bool
-
getAll()
: array<string|int, mixed>
-
getAvailableVisibility()
: array<string|int, mixed>
-
getById()
: mixed
-
getObjectNameForExpressions()
: string
-
getValue()
: mixed
-
getVisibilityFullNames()
: array<string|int, mixed>
-
getVisibilityShortNames()
: array<string|int, mixed>
-
getVisibleById()
: mixed
-
loadLanguageFile()
: void
-
saveAll()
: mixed
-
upsert()
: bool
-
upsertByProperty()
: Result
CONF_NAME
public
mixed
CONF_NAME
= 'global_const'
canUserDelete()
public
static canUserDelete(array<string|int, mixed> $documentType, int $userId) : bool
Parameters
-
$documentType
: array<string|int, mixed>
-
-
$userId
: int
-
canUserRead()
public
static canUserRead(array<string|int, mixed> $documentType, int $userId) : bool
Parameters
-
$documentType
: array<string|int, mixed>
-
-
$userId
: int
-
canUserUpsert()
public
static canUserUpsert(array<string|int, mixed> $documentType, int $userId) : bool
Parameters
-
$documentType
: array<string|int, mixed>
-
-
$userId
: int
-
delete()
public
static delete(mixed $id) : bool
Parameters
-
$id
: mixed
-
getAll()
public
static getAll([array<string|int, mixed> $parameterDocumentType = [] ]) : array<string|int, mixed>
Parameters
-
$parameterDocumentType
: array<string|int, mixed>
= []
-
Return values
array<string|int, mixed>
getAvailableVisibility()
public
static getAvailableVisibility(array<string|int, mixed> $parameterDocumentType) : array<string|int, mixed>
Parameters
-
$parameterDocumentType
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
getById()
public
static getById(mixed $id) : mixed
Parameters
-
$id
: mixed
-
getObjectNameForExpressions()
public
static getObjectNameForExpressions() : string
getValue()
public
static getValue(mixed $id) : mixed
Parameters
-
$id
: mixed
-
getVisibilityFullNames()
public
static getVisibilityFullNames(array<string|int, mixed> $parameterDocumentType) : array<string|int, mixed>
Parameters
-
$parameterDocumentType
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
getVisibilityShortNames()
public
static getVisibilityShortNames(array<string|int, mixed> $parameterDocumentType) : array<string|int, mixed>
Parameters
-
$parameterDocumentType
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
getVisibleById()
public
static getVisibleById(mixed $id, mixed $documentType) : mixed
Parameters
-
$id
: mixed
-
-
$documentType
: mixed
-
loadLanguageFile()
public
static loadLanguageFile() : void
saveAll()
public
static saveAll(array<string|int, mixed> $all[, int $userId = null ]) : mixed
Parameters
-
$all
: array<string|int, mixed>
-
-
$userId
: int
= null
-
upsert()
public
static upsert(mixed $id, mixed $property[, int $userId = null ]) : bool
Parameters
-
$id
: mixed
-
-
$property
: mixed
-
-
$userId
: int
= null
-
upsertByProperty()
public
static upsertByProperty(mixed $id, mixed $property[, int $userId = null ]) : Result
Parameters
-
$id
: mixed
-
-
$property
: mixed
-
-
$userId
: int
= null
-