StringCommentApi
extends AbstractApi
in package
Use API to add or remove strings translations, approvals, and votes.
Table of Contents
Methods
- create() : StringComment|null
- Add String Comment
- delete() : mixed
- Delete String Comment
- get() : StringComment|null
- Get String Comment
- list() : ModelCollection|null
- List String Comment
- update() : StringComment|null
- Edit String Comment
Methods
create()
Add String Comment
public
create(int $projectId, array<string|int, mixed> $data) : StringComment|null
Parameters
- $projectId : int
- $data : array<string|int, mixed>
Tags
Return values
StringComment|nulldelete()
Delete String Comment
public
delete(int $projectId, int $stringCommentId) : mixed
Parameters
- $projectId : int
- $stringCommentId : int
Tags
get()
Get String Comment
public
get(int $projectId, int $stringCommentId) : StringComment|null
Parameters
- $projectId : int
- $stringCommentId : int
Tags
Return values
StringComment|nulllist()
List String Comment
public
list(int $projectId[, array<string|int, mixed> $params = [] ]) : ModelCollection|null
Parameters
- $projectId : int
- $params : array<string|int, mixed> = []
Tags
Return values
ModelCollection|nullupdate()
Edit String Comment
public
update(int $projectId, StringComment $stringComment) : StringComment|null
Parameters
- $projectId : int
- $stringComment : StringComment