BlogPostCommentMode extends Enum
in package

This is the blog posts comments mode enumerate.

Tags
see
Enum

Table of Contents

ANONYMOUS_AND_REGISTERED_USERS  = 'ANONYMOUS_AND_REGISTERED_USERS'
NO_COMMENTS  = 'NO_COMMENTS'
ONLY_REGISTERED_USERS  = 'ONLY_REGISTERED_USERS'
getValues()  : array<string|int, mixed>
isValid() Check if the given value is inside the called enumerate.  : bool

Constants

ANONYMOUS_AND_REGISTERED_USERS

public mixed ANONYMOUS_AND_REGISTERED_USERS = 'ANONYMOUS_AND_REGISTERED_USERS'

Methods

getValues()

public static getValues() : array<string|int, mixed>
Return values
array<string|int, mixed>

isValid()

Check if the given value is inside the called enumerate.

public static isValid(string $value) : bool
Parameters
$value : string

value to check

Return values
bool

Search results