Table of Contents
Constants
-
MAX_SHARE_DATA
= 5
Methods
-
__construct()
: mixed
-
fillPromptIdsInFilter()
: void
-
getPromptsForGrid()
: array<string|int, mixed>|array<string|int, GridPromptDto>
-
getUserPhotoUrl()
: string
MAX_SHARE_DATA
public
mixed
MAX_SHARE_DATA
= 5
__construct()
public
__construct(GridPromptRepository $gridPromptRepository, ShareRepository $shareRepository, UserRepository $userRepository, CategoryService $categoryService, DateFormatService $dateFormatService, UserAccessRepository $userAccessRepository, GroupService $groupService) : mixed
Parameters
-
$gridPromptRepository
: GridPromptRepository
-
-
$shareRepository
: ShareRepository
-
-
$userRepository
: UserRepository
-
-
$categoryService
: CategoryService
-
-
$dateFormatService
: DateFormatService
-
-
$userAccessRepository
: UserAccessRepository
-
-
$groupService
: GroupService
-
fillPromptIdsInFilter()
public
fillPromptIdsInFilter(int $userId, GridParamsDto $params) : void
Parameters
-
$userId
: int
-
-
$params
: GridParamsDto
-
getPromptsForGrid()
public
getPromptsForGrid(int $userId, GridParamsDto $params) : array<string|int, mixed>|array<string|int, GridPromptDto>
Parameters
-
$userId
: int
-
-
$params
: GridParamsDto
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SqlQueryException
-
throws
-
SystemException
Return values
array<string|int, mixed>|array<string|int, GridPromptDto>
getUserPhotoUrl()
public
getUserPhotoUrl(array<string|int, mixed> $userFields) : string
Parameters
-
$userFields
: array<string|int, mixed>
-