ContentOpenInNewTabStatus
in package
Class ContentOpenInNewTabStatus
This class represents whether the content is opened in a new tab
Tags
Table of Contents
- $languageCode : string
- Language code
- $openInNewTab : bool
- Open in a new tab status
- __construct() : mixed
- ContentOpenInNewTabStatus constructor
- languageCode() : string
- Return the language code
- opensInNewTab() : bool
- Return whether the content is opened in a new tab
Properties
$languageCode
Language code
protected
string
$languageCode
$openInNewTab
Open in a new tab status
protected
bool
$openInNewTab
Methods
__construct()
ContentOpenInNewTabStatus constructor
public
__construct(bool $openInNewTab, LanguageCode $languageCode) : mixed
Parameters
- $openInNewTab : bool
-
Whether the content is opened in a new tab
- $languageCode : LanguageCode
-
Language code
Return values
mixed —languageCode()
Return the language code
public
languageCode() : string
Return values
string —opensInNewTab()
Return whether the content is opened in a new tab
public
opensInNewTab() : bool