AddBlogPostCommentParametersGroup
extends ParametersGroup
in package
This is the blog model (add post comments resource) parameters group class.
Table of Contents
| $comment | : string | |
|---|---|---|
| $commentId | : int | |
| : string | ||
| $nick | : string | |
| $validator | : ParametersValidator | |
| setComment() | Sets the comment parameter for this parameters group. | : void |
| setCommentId() | Sets the comment parent internal identifier parameter for this parameters group. | : void |
| setEmail() | Sets the email parameter for this parameters group. | : void |
| setNick() | Sets the nick parameter for this parameters group. | : void |
| toArray() | Returns the object data on array format. | : array<string|int, mixed> |
| filter() | : array<string|int, mixed> | |
| getInstantiatedValidator() | : ParametersValidator | |
| getValidator() | : AddBlogPostCommentParametersValidator |
Properties
$comment
protected
string
$comment
$commentId
protected
int
$commentId
protected
string
$email
$nick
protected
string
$nick
$validator
protected
ParametersValidator
$validator
Methods
setComment()
Sets the comment parameter for this parameters group.
public
setComment(string $comment) : void
Parameters
- $comment : string
Return values
void —setCommentId()
Sets the comment parent internal identifier parameter for this parameters group.
public
setCommentId(int $commentId) : void
Parameters
- $commentId : int
Return values
void —setEmail()
Sets the email parameter for this parameters group.
public
setEmail(string $email) : void
Parameters
- $email : string
Return values
void —setNick()
Sets the nick parameter for this parameters group.
public
setNick(string $nick) : void
Parameters
- $nick : string
Return values
void —toArray()
Returns the object data on array format.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —filter()
protected
filter(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Return values
array<string|int, mixed> —getInstantiatedValidator()
protected
getInstantiatedValidator() : ParametersValidator
Return values
ParametersValidator —getValidator()
protected
getValidator() : AddBlogPostCommentParametersValidator