MyCompany
Table of Contents
Methods
-
__construct()
: mixed
-
canAdd()
: bool
-
canAddByOwnerEntity()
: bool
-
canDelete()
: bool
-
canRead()
: bool
-
canReadBaseFields()
: bool
-
canSearch()
: bool
-
canUpdate()
: bool
-
canUpdateByOwnerEntity()
: bool
__construct()
public
__construct(UserPermissions $userPermissions) : mixed
Parameters
-
$userPermissions
: UserPermissions
-
canAdd()
public
canAdd() : bool
canAddByOwnerEntity()
public
canAddByOwnerEntity(int $ownerEntityTypeId[, int|null $ownerEntityId = null ]) : bool
Parameters
-
$ownerEntityTypeId
: int
-
-
$ownerEntityId
: int|null
= null
-
canDelete()
public
canDelete() : bool
canRead()
public
canRead() : bool
canReadBaseFields()
public
canReadBaseFields([int|null $myCompanyId = null ]) : bool
Parameters
-
$myCompanyId
: int|null
= null
-
canSearch()
public
canSearch() : bool
canUpdate()
public
canUpdate() : bool
canUpdateByOwnerEntity()
public
canUpdateByOwnerEntity(int $ownerEntityTypeId[, int|null $ownerEntityId = null ]) : bool
Parameters
-
$ownerEntityTypeId
: int
-
-
$ownerEntityId
: int|null
= null
-