VisibilityAspect implements AspectInterface

The aspect contains whether to show hidden pages, records (content) or even deleted records.

Allowed properties:

  • includeHiddenPages
  • includeHiddenContent
  • includeDeletedRecords

Table of Contents

Interfaces

AspectInterface
Interface AspectInterface Think of an aspect like a property bag

Properties

$includeDeletedRecords  : bool
$includeHiddenContent  : bool
$includeHiddenPages  : bool

Methods

__construct()  : mixed
get()  : int|bool
Fetch the values
includeDeletedRecords()  : bool
includeHidden()  : bool
includeHiddenContent()  : bool
includeHiddenPages()  : bool

Properties

$includeDeletedRecords

protected bool $includeDeletedRecords

$includeHiddenContent

protected bool $includeHiddenContent

$includeHiddenPages

protected bool $includeHiddenPages

Methods

__construct()

public __construct([bool $includeHiddenPages = false ][, bool $includeHiddenContent = false ][, bool $includeDeletedRecords = false ]) : mixed
Parameters
$includeHiddenPages : bool = false

whether to include hidden=1 in pages tables

$includeHiddenContent : bool = false

whether to include hidden=1 in tables except for pages

$includeDeletedRecords : bool = false

whether to include deleted=1 records (only for use in recycler)

includeDeletedRecords()

public includeDeletedRecords() : bool
Return values
bool

includeHidden()

public includeHidden() : bool
Return values
bool

includeHiddenContent()

public includeHiddenContent() : bool
Return values
bool

includeHiddenPages()

public includeHiddenPages() : bool
Return values
bool

        
On this page

Search results