phpDocumentor

ContentStatus
in package
implements LocalizedContentAttributeInterface, JsonSerializable

Class ContentStatus

This class represents the content active status

Tags
category

System

Interfaces, Classes and Traits

LocalizedContentAttributeInterface
Interface LocalizedContentAttributeInterface
JsonSerializable

Table of Contents

$languageCode  : LanguageCode
$status  : string
Content active status
__construct()  : mixed
ContentStatus constructor
content()  : string
Return the content
jsonSerialize()  : mixed
Specify data which should be serialized to JSON
languageCode()  : string
Return the language code

Properties

Methods

__construct()

ContentStatus constructor

public __construct(string $status, LanguageCode $languageCode) : mixed
Parameters
$status : string

Content status

$languageCode : LanguageCode
Return values
mixed

content()

Return the content

public content() : string
Return values
string

languageCode()

Return the language code

public languageCode() : string
Return values
string

Search results