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
- $includeScheduledRecords : bool
Methods
- __construct() : mixed
- get() : int|bool
- Fetch the values
- includeDeletedRecords() : bool
- includeHidden() : bool
- includeHiddenContent() : bool
- includeHiddenPages() : bool
- includeScheduledRecords() : bool
Properties
$includeDeletedRecords
protected
bool
$includeDeletedRecords
$includeHiddenContent
protected
bool
$includeHiddenContent
$includeHiddenPages
protected
bool
$includeHiddenPages
$includeScheduledRecords
protected
bool
$includeScheduledRecords
Methods
__construct()
public
__construct([bool $includeHiddenPages = false ][, bool $includeHiddenContent = false ][, bool $includeDeletedRecords = false ][, bool $includeScheduledRecords = 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)
- $includeScheduledRecords : bool = false
-
whether to ignore access time in tables
get()
Fetch the values
public
get(string $name) : int|bool
Parameters
- $name : string
Tags
Return values
int|boolincludeDeletedRecords()
public
includeDeletedRecords() : bool
Return values
boolincludeHidden()
public
includeHidden() : bool
Return values
boolincludeHiddenContent()
public
includeHiddenContent() : bool
Return values
boolincludeHiddenPages()
public
includeHiddenPages() : bool
Return values
boolincludeScheduledRecords()
public
includeScheduledRecords() : bool