ContentAllowRobotsStatus
in package
Class ContentAllowRobotsStatus
This class represents the content "allow robots" status
Tags
Table of Contents
- $allowRobots : bool
- Content "allow robots" status
- $languageCode : string
- Language code
- __construct() : mixed
- ContentAllowRobotsStatus constructor
- isAllowed() : bool
- Return the content "allow robots" status
- languageCode() : string
- Return the language code
Properties
$allowRobots
Content "allow robots" status
protected
bool
$allowRobots
$languageCode
Language code
protected
string
$languageCode
Methods
__construct()
ContentAllowRobotsStatus constructor
public
__construct([bool $allowRobots = true ][, LanguageCode|null $languageCode = null ]) : mixed
Parameters
- $allowRobots : bool = true
-
Content "allow robots" status
- $languageCode : LanguageCode|null = null
-
Language code
Return values
mixed —isAllowed()
Return the content "allow robots" status
public
isAllowed() : bool
Return values
bool —languageCode()
Return the language code
public
languageCode() : string