phpDocumentor

LinkPageContent
in package
implements ContentInterface, ContentAttributesInterface, ContentNameAttributeInterface, ContentLinkAttributesInterface, ContentGroupIdInterface, ContentDeleteInterface, ContentSortOrderInterface

Class LinkPageContent

This class represents a link page content entity

Tags
category

System

Interfaces, Classes and Traits

ContentInterface
ContentAttributesInterface
Interface ContentAttributesInterface
ContentNameAttributeInterface
Interface ContentNameAttributeInterface
ContentLinkAttributesInterface
Interface ContentLinkAttributesInterface
ContentGroupIdInterface
Interface ContentGroupIdInterface
ContentDeleteInterface
ContentSortOrderInterface

Table of Contents

$deletable  : bool
$id  : ContentIdentificationInterface
Content group ID
$links  : ContentLinkCollection
Localized content links
$names  : ContentNameCollection
Localized content names
$opensInNewTabStatus  : bool
content is opening in new tab
$position  : string
Content position
$sortOrder  : int
Content sort order
$status  : ContentStatusCollection
Content is active
$titles  : ContentTitleCollection
Localized content titles
$type  : string
Content type
__construct()  : mixed
LinkPageContent constructor
id()  : ContentIdentificationInterface|null
Returns the content group id if set, otherwise null will be returned.
isDeletable()  : int|null
Returns whether the content is deletable
links()  : ContentLinkCollection
Return the localized content links
names()  : ContentNameCollection
Return the localized content names
openInNewTab()  : ContentOpenInNewTabStatusCollection
Return localized content is opened in a new tab
order()  : int
Returns the content group id if set, otherwise null will be returned.
position()  : string
Return the content position
status()  : ContentStatusCollection
Return whether the content is active
titles()  : ContentTitleCollection
Return the localized content titles
type()  : string
Return the content type

Properties

$opensInNewTabStatus

content is opening in new tab

protected bool $opensInNewTabStatus

Methods

__construct()

LinkPageContent constructor

public __construct(ContentPositionInterface $pagePosition, ContentStatusCollection $status, ContentTitleCollection $titles, ContentNameCollection $names, ContentLinkCollection $links, ContentOpenInNewTabStatusCollection $opensInNewTabStatus[, ContentIdentificationInterface|null $id = null ][, ContentSortOrderInterface|null $sortOrder = null ][, ContentDeleteInterface|null $deletable = null ]) : mixed
Parameters
$pagePosition : ContentPositionInterface

Page position

$status : ContentStatusCollection

Localized status

$titles : ContentTitleCollection

Localized titles

$names : ContentNameCollection

Localized names

$links : ContentLinkCollection

Localized links

$opensInNewTabStatus : ContentOpenInNewTabStatusCollection

Whether the link is opened in a new tab

$id : ContentIdentificationInterface|null = null

Optional content group ID

$sortOrder : ContentSortOrderInterface|null = null
$deletable : ContentDeleteInterface|null = null
Return values
mixed

isDeletable()

Returns whether the content is deletable

public isDeletable() : int|null
Return values
int|null

order()

Returns the content group id if set, otherwise null will be returned.

public order() : int
Return values
int

position()

Return the content position

public position() : string
Return values
string

Search results