GridPromptDto
implements
Arrayable
Table of Contents
Interfaces
- Arrayable
Methods
-
__construct()
: mixed
-
addInShare()
: void
-
addUserIdInShare()
: void
-
getAuthor()
: string
-
getAuthorPhoto()
: string
-
getCategories()
: array<string|int, mixed>
-
getCode()
: string
-
getCountInFillShare()
: int
-
getCountShare()
: int
-
getDateCreate()
: string|null
-
getDateModify()
: string|null
-
getEditor()
: string
-
getEditorPhoto()
: string
-
getShare()
: array<string|int, ShareDto>
-
getTitle()
: string
-
getType()
: string|null
-
getUserIdsInShare()
: array<string|int, mixed>
-
incrementCountShare()
: void
-
isActive()
: bool
-
isDeleted()
: bool
-
isFavorite()
: bool
-
setShare()
: void
-
toArray()
: array<string|int, mixed>
__construct()
public
__construct(array<string|int, mixed> $data) : mixed
Parameters
-
$data
: array<string|int, mixed>
-
addInShare()
public
addInShare(mixed $code, ShareDto $shareDto) : void
Parameters
-
$code
: mixed
-
-
$shareDto
: ShareDto
-
addUserIdInShare()
public
addUserIdInShare(int $userId) : void
Parameters
-
$userId
: int
-
getAuthor()
public
getAuthor() : string
getAuthorPhoto()
public
getAuthorPhoto() : string
getCategories()
public
getCategories() : array<string|int, mixed>
Return values
array<string|int, mixed>
getCode()
public
getCode() : string
getCountInFillShare()
public
getCountInFillShare() : int
getCountShare()
public
getCountShare() : int
getDateCreate()
public
getDateCreate() : string|null
Return values
string|null
getDateModify()
public
getDateModify() : string|null
Return values
string|null
getEditor()
public
getEditor() : string
getEditorPhoto()
public
getEditorPhoto() : string
getShare()
public
getShare() : array<string|int, ShareDto>
Return values
array<string|int, ShareDto>
getTitle()
public
getTitle() : string
getType()
public
getType() : string|null
Return values
string|null
getUserIdsInShare()
public
getUserIdsInShare() : array<string|int, mixed>
Return values
array<string|int, mixed>
incrementCountShare()
public
incrementCountShare() : void
isActive()
public
isActive() : bool
isDeleted()
public
isDeleted() : bool
isFavorite()
public
isFavorite() : bool
setShare()
public
setShare(ShareDto $shareDto) : void
Parameters
-
$shareDto
: ShareDto
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>