Documentation

Page extends Page
in package
implements Proxy

DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR

Table of Contents

Interfaces

Proxy

Constants

NODE_URL_CMD  = \Cx\Core\Routing\NodePlaceholder::NODE_URL_CMD
Node Url regular expression back reference index for the module cmd
NODE_URL_LANG_ID  = \Cx\Core\Routing\NodePlaceholder::NODE_URL_LANG_ID
Node Url regular expression back reference index for the language id
NODE_URL_MODULE  = \Cx\Core\Routing\NodePlaceholder::NODE_URL_MODULE
Node Url regular expression back reference index for the module
NODE_URL_NODE_ID  = \Cx\Core\Routing\NodePlaceholder::NODE_URL_NODE_ID
Node Url regular expression back reference index for the node id
NODE_URL_PCRE  = \Cx\Core\Routing\NodePlaceholder::NODE_URL_PCRE
Regular expression to match a node-url in placeholder notation
NODE_URL_PLACEHOLDER  = \Cx\Core\Routing\NodePlaceholder::NODE_URL_PLACEHOLDER
Node Url regular expression back reference index for the whole placeholder
PLACEHOLDER_PREFIX  = \Cx\Core\Routing\NodePlaceholder::PLACEHOLDER_PREFIX
Prefex used in placeholders for Node-Urls: [[ NODE_(<node_id>|<module>[_<cmd>])[_<lang_id>] ]]
TYPE_ALIAS  = 'alias'
TYPE_APPLICATION  = 'application'
TYPE_CONTENT  = 'content'
TYPE_FALLBACK  = 'fallback'
TYPE_REDIRECT  = 'redirect'
TYPE_SYMLINK  = 'symlink'

Properties

$__cloner__  : Closure
$__initializer__  : Closure
$__isInitialized__  : bool
$lazyPropertiesDefaults  : array<string|int, mixed>
$active  : bool
$applicationTemplate  : string
$backendAccessId  : int
$cmd  : string
$content  : text
$contentTitle  : string
$cssName  : string
$cssNavName  : string
$customContent  : string
$display  : bool
$editingStatus  : bool
$end  : date
$frontendAccessId  : int
$id  : int
$isVirtual  : bool
$lang  : int
$linkTarget  : string
$localeCodes  : array<string|int, mixed>
List of locale codes ordered by translation fallback order per Cx instance
$metadesc  : string
$metaimage  : string
$metakeys  : string
$metarobots  : string
$metatitle  : string
$module  : int
$nestingCount  : int
Counts the nesting level of __call()
$node  : Node
$nodeIdShadowed  : int
$protection  : int
$skin  : Skin
$slug  : string
$slugBase  : int
$slugSuffix  : int
$sourceMode  : bool
Disables the WYSIWYG editor
$start  : date
$stringRepresentationBlank  : bool
Whether blank string representations are valid
$stringRepresentationFields  : array<string|int, mixed>
List of fields that should be available in the string representation
$stringRepresentationFormat  : string
Sprintf format for the string representation
$target  : string
$title  : string
$type  : string
$updatedAt  : datetime
$updatedBy  : string
$useCustomApplicationTemplateForAllChannels  : int
$useCustomContentForAllChannels  : int
$useSkinForAllChannels  : int
$validators  : array<string|int, mixed>
Initialize this array as follows: array( 'columName' => Zend_Validate )
$virtual  : bool
Defines if an entity is virtual and therefore not persistable.
$caching  : bool

Methods

__call()  : mixed
{@inheritDoc}
__clone()  : mixed
__construct()  : mixed
__get()  : mixed
{@inheritDoc}
__getCloner()  : mixed
{@inheritDoc}
__getInitializer()  : mixed
{@inheritDoc}
__getLazyProperties()  : mixed
{@inheritDoc}
__isInitialized()  : mixed
{@inheritDoc}
__load()  : mixed
Forces initialization of the proxy
__setCloner()  : mixed
{@inheritDoc}
__setInitialized()  : mixed
{@inheritDoc}
__setInitializer()  : mixed
{@inheritDoc}
__sleep()  : array<string|int, mixed>
__toString()  : mixed
{@inheritDoc}
__wakeup()  : mixed
copy()  : Page
DO NOT CALL THIS METHOD! USE copyToLang() OR copyToNode() INSTEAD! Copies data from another Page.
copyProtection()  : bool
Clones the protection of this page to another page
copyToLang()  : Page
Creates a copy of this page with a different language.
copyToNode()  : Page
Creates a copy of this page which belongs to another node.
getActive()  : bool
Get status
getAliases()  : array<string|int, Page>
Returns an array of alias pages for a page
getApplicationTemplate()  : string
Get applicationTemplate
getBackendAccessId()  : int
Get backendAccessId
getCaching()  : bool
Get caching
getChangeFrequency()  : string
Returns the change frequency in XY (for use in sitemap or so)
getChildren()  : array<string|int, mixed>
Returns an array of child pages (pages of the same language of all subnodes)
getCmd()  : string
Get cmd
getComponentController()  : mixed
{@inheritDoc}
getContent()  : text
Get content
getContentTitle()  : string
Get contentTitle
getCssName()  : string
Get cssName
getCssNavName()  : string
Get cssNavName
getCustomContent()  : string
Get customContent
getDisplay()  : bool
Get display
getEditingStatus()  : bool
Get editingStatus
getEnd()  : date
Get end
getFallback()  : Page
Returns the fallback page of this page
getFrontendAccessId()  : int
Get frontendAccessId
getId()  : int
Get id
getKeyAsString()  : string
Returns this entity's key
getLang()  : int
Get lang
getLastModificationDateTime()  : DateTime
Returns the DateTime object for the modification time (for use in sitemap or so)
getLinkTarget()  : string
Get linkTarget
getMetadesc()  : string
Get metadesc
getMetaimage()  : string
Get metaimage
getMetakeys()  : string
Get metakeys
getMetarobots()  : int
Get metarobots
getMetatitle()  : string
Get metatitle
getModule()  : string
Get module
getNode()  : Node
Get node
getNodeIdShadowed()  : int
Get nodeIdShadowed
getParent()  : Page
Returns the page with the same language of the parent node e.g. $this->getNode()->getParent()->getPage($this->lang)
getPath()  : string
Get a pages' path starting with a slash
getProtection()  : int
Get protection
getRelatedBlocks()  : array<string|int, mixed>
Returns the blocks related to this page
getSkin()  : Skin
Get skin
getSlug()  : string
Get slug
getSourceMode()  : bool
Get sourceMode
getStart()  : date
Get start
getStatus()  : bool
Get active
getTarget()  : string
Get target
getTargetCmd()  : mixed
Get the target pages' module cmd
getTargetLangId()  : int
Get the target pages' language id.
getTargetModule()  : mixed
Get the target pages' module name
getTargetNodeId()  : int
Gets the target nodes' id.
getTargetQueryString()  : string
Gets the target pages' querystring.
getTitle()  : string
Get title
getTranslatedFieldValue()  : mixed
{@inheritDoc}
getType()  : string
Get page type
getUpdatedAt()  : datetime
Get updatedAt
getUpdatedBy()  : string
Get updatedBy
getURL()  : mixed
Returns "$protocolAndDomainWithPathOffset/link/to/page$params.
getUseCustomApplicationTemplateForAllChannels()  : int
Get useCustomApplicationTemplateForAllChannels
getUseCustomContentForAllChannels()  : int
Get useCustomContentForAllChannels
getUseSkinForAllChannels()  : int
Get useSkinForAllChannels
getVersion()  : LogEntry
Returns the current log for this page
getWidgetContent()  : mixed
{@inheritDoc}
getWidgetContentAttributeName()  : string
Returns the name of the attribute used to parse Widget named $widgetName
initializeValidators()  : mixed
isActive()  : bool
Alias for getActive()
isBackendProtected()  : bool
Whether page access from backend is protected.
isDraft()  : bool
Checks whether the page is a draft or not
isFrontendProtected()  : bool
Whether page access from frontend is protected.
isTargetInternal()  : bool
Whether target references an internal page
isVirtual()  : bool
Whether the Page is intended to exist in DB or not.
isVisible()  : bool
Alias for getDisplay()
nextSlug()  : mixed
serialize()  : mixed
setActive()  : mixed
Set active
setAlias()  : mixed
Stores changes to the aliases for this page
setApplicationTemplate()  : mixed
Set applicationTemplate
setBackendAccessId()  : mixed
Set backendAccessId
setBackendProtection()  : void
Set the Page backend protection
setCaching()  : mixed
Set caching
setCmd()  : mixed
Set cmd
setContent()  : mixed
Set content
setContentOf()  : mixed
Copies the content from the other page given.
setContentTitle()  : mixed
Set contentTitle
setCssName()  : mixed
Set cssName
setCssNavName()  : mixed
Set cssNavName
setCustomContent()  : mixed
Set customContent
setDisplay()  : mixed
Set display
setEditingStatus()  : mixed
Set editingStatus
setEnd()  : mixed
Set end
setFrontendAccessId()  : mixed
Set frontendAccessId
setFrontendProtection()  : void
Set the Page frontend protection
setId()  : mixed
Set id
setLang()  : mixed
Set lang
setLinkTarget()  : mixed
Set linkTarget
setMetadesc()  : mixed
Set metadesc
setMetaimage()  : mixed
Set metaimage
setMetakeys()  : mixed
Set metakeys
setMetarobots()  : mixed
Set metarobots
setMetatitle()  : mixed
Set metatitle
setModule()  : mixed
Set module
setNode()  : mixed
Set node
setNodeIdShadowed()  : mixed
Set nodeIdShadowed
setProtection()  : mixed
Set protection
setRelatedBlocks()  : mixed
Sets relations to blocks
setSkin()  : mixed
Set skin
setSlug()  : mixed
Set slug
setSourceMode()  : mixed
Set sourceMode
setStart()  : mixed
Set start
setStatus()  : mixed
Set status
setTarget()  : mixed
Set target
setTitle()  : mixed
Set title
setType()  : mixed
Set type
setUpdatedAt()  : mixed
Set updatedAt
setUpdatedAtToNow()  : mixed
setUpdatedBy()  : mixed
Set updatedBy
setupPath()  : type
Sanitize tree.
setUseCustomApplicationTemplateForAllChannels()  : int
Get useCustomApplicationTemplateForAllChannels
setUseCustomContentForAllChannels()  : int
Get useCustomContentForAllChannels
setUseSkinForAllChannels()  : int
Set useSkinForAllChannels
setVirtual()  : mixed
Sets this pages virtual flag
titleExists()  : bool
Check whether the page $title already exists under the pages in $parentNode
unserialize()  : mixed
updateFromArray()  : mixed
validate()  : mixed
createAccessId()  : mixed
cutTarget()  : mixed
eraseAccessId()  : mixed
getContentTemplateForWidget()  : Sigma
Returns the template in which the widget can be used
getFallbackLocaleCodes()  : array<string|int, mixed>
Returns a list of all locale codes ordered by fallback order
getStringRepresentationBlank()  : bool
Whether blank string representations are valid
getStringRepresentationFields()  : array<string|int, mixed>
Returns a list of fields available in the string representation
getStringRepresentationFormat()  : string
Returns the sprintf() format for the string representation
isSetModuleValid()  : bool
Verify if the set name in {@see static::$module} is a valid component name.
refreshSlug()  : mixed
Sets a correct slug based on the current title.
slugify()  : mixed

Constants

NODE_URL_CMD

Node Url regular expression back reference index for the module cmd

public mixed NODE_URL_CMD = \Cx\Core\Routing\NodePlaceholder::NODE_URL_CMD
Tags
deprecated

Use NodePlaceholder::... directly instead

NODE_URL_LANG_ID

Node Url regular expression back reference index for the language id

public mixed NODE_URL_LANG_ID = \Cx\Core\Routing\NodePlaceholder::NODE_URL_LANG_ID
Tags
deprecated

Use NodePlaceholder::... directly instead

NODE_URL_MODULE

Node Url regular expression back reference index for the module

public mixed NODE_URL_MODULE = \Cx\Core\Routing\NodePlaceholder::NODE_URL_MODULE
Tags
deprecated

Use NodePlaceholder::... directly instead

NODE_URL_NODE_ID

Node Url regular expression back reference index for the node id

public mixed NODE_URL_NODE_ID = \Cx\Core\Routing\NodePlaceholder::NODE_URL_NODE_ID
Tags
deprecated

Use NodePlaceholder::... directly instead

NODE_URL_PCRE

Regular expression to match a node-url in placeholder notation

public mixed NODE_URL_PCRE = \Cx\Core\Routing\NodePlaceholder::NODE_URL_PCRE
Tags
deprecated

Use NodePlaceholder::... directly instead

NODE_URL_PLACEHOLDER

Node Url regular expression back reference index for the whole placeholder

public mixed NODE_URL_PLACEHOLDER = \Cx\Core\Routing\NodePlaceholder::NODE_URL_PLACEHOLDER
Tags
deprecated

Use NodePlaceholder::... directly instead

PLACEHOLDER_PREFIX

Prefex used in placeholders for Node-Urls: [[ NODE_(<node_id>|<module>[_<cmd>])[_<lang_id>] ]]

public mixed PLACEHOLDER_PREFIX = \Cx\Core\Routing\NodePlaceholder::PLACEHOLDER_PREFIX
Tags
deprecated

Use NodePlaceholder::... directly instead

TYPE_APPLICATION

public mixed TYPE_APPLICATION = 'application'

TYPE_CONTENT

public mixed TYPE_CONTENT = 'content'

TYPE_FALLBACK

public mixed TYPE_FALLBACK = 'fallback'

TYPE_REDIRECT

public mixed TYPE_REDIRECT = 'redirect'
public mixed TYPE_SYMLINK = 'symlink'

Properties

$__initializer__

public Closure $__initializer__

the callback responsible for loading properties in the proxy object. This callback is called with three parameters, being respectively the proxy object to be initialized, the method that triggered the initialization process and an array of ordered parameters that were passed to that method.

Tags
see
Proxy::__setInitializer

$lazyPropertiesDefaults

public static array<string|int, mixed> $lazyPropertiesDefaults = array()

properties to be lazy loaded, with keys being the property names and values being their default values

Tags
see
Proxy::__getLazyProperties

$applicationTemplate

protected string $applicationTemplate

$backendAccessId

protected int $backendAccessId

$frontendAccessId

protected int $frontendAccessId

$isVirtual

protected bool $isVirtual = false

Tells wheter this is a virtual (non DB) page or not

$localeCodes

List of locale codes ordered by translation fallback order per Cx instance

protected static array<string|int, mixed> $localeCodes = array()

Array in the form: array(<instanceId> => array(<localeCode>, ...))

Tags
see
getFallbackLocaleCodes()

$nestingCount

Counts the nesting level of __call()

protected static int $nestingCount = 0

$sourceMode

Disables the WYSIWYG editor

protected bool $sourceMode

$stringRepresentationBlank

Whether blank string representations are valid

protected bool $stringRepresentationBlank = false

Whether blank string representations are valid

Tags
see
getStringRepresentationBlank()

$stringRepresentationFields

List of fields that should be available in the string representation

protected array<string|int, mixed> $stringRepresentationFields = array()

List of field names

Tags
see
getStringRepresentationFields()

$stringRepresentationFormat

Sprintf format for the string representation

protected string $stringRepresentationFormat = ''

Sprintf format string

Tags
see
getStringRepresentationFormat()

$useCustomApplicationTemplateForAllChannels

protected int $useCustomApplicationTemplateForAllChannels

$useCustomContentForAllChannels

protected int $useCustomContentForAllChannels

$useSkinForAllChannels

protected int $useSkinForAllChannels

$validators

Initialize this array as follows: array( 'columName' => Zend_Validate )

protected array<string|int, mixed> $validators = array()

$virtual

Defines if an entity is virtual and therefore not persistable.

protected bool $virtual = false

Defaults to FALSE - not virtual.

Methods

__getLazyProperties()

{@inheritDoc}

public __getLazyProperties() : mixed
Tags
internal

generated method: use only when explicitly handling proxy specific loading logic

static

__setCloner()

{@inheritDoc}

public __setCloner([Closure $cloner = null ]) : mixed
Parameters
$cloner : Closure = null
Tags
internal

generated method: use only when explicitly handling proxy specific loading logic

__setInitialized()

{@inheritDoc}

public __setInitialized(mixed $initialized) : mixed
Parameters
$initialized : mixed
Tags
internal

generated method: use only when explicitly handling proxy specific loading logic

__setInitializer()

{@inheritDoc}

public __setInitializer([Closure $initializer = null ]) : mixed
Parameters
$initializer : Closure = null
Tags
internal

generated method: use only when explicitly handling proxy specific loading logic

copy()

DO NOT CALL THIS METHOD! USE copyToLang() OR copyToNode() INSTEAD! Copies data from another Page.

public copy([mixed $includeContent = true ][, mixed $includeModuleAndCmd = true ][, mixed $includeName = true ][, mixed $includeMetaData = true ][, mixed $includeProtection = true ][, mixed $includeEditingStatus = true ][, mixed $followRedirects = false ][, mixed $followFallbacks = false ][, mixed $page = NULL ]) : Page
Parameters
$includeContent : mixed = true

Whether to copy content. Defaults to true

$includeModuleAndCmd : mixed = true

Whether to copy module and cmd. Defaults to true

$includeName : mixed = true

Whether to copy title, content title and slug. Defaults to true

$includeMetaData : mixed = true

Whether to copy meta data. Defaults to true

$includeProtection : mixed = true

Whether to copy protection. Defaults to true

$includeEditingStatus : mixed = true

Copy the editing status if true otherwise not

$followRedirects : mixed = false

Whether to return a redirection page or the page its pointing at. Defaults to false, which returns the redirection page

$followFallbacks : mixed = false

Whether to return a fallback page or the page its pointing at. Defaults to false, witch returns the fallback page

$page : mixed = NULL
Return values
Page

The copy of $this or null on error

copyProtection()

Clones the protection of this page to another page

public copyProtection(mixed $page, mixed $frontend) : bool
Parameters
$page : mixed

Page to get the same protection as $this

$frontend : mixed

Wheter the front- or backend protection should be cloned

Return values
bool

True on success, false otherwise

copyToLang()

Creates a copy of this page with a different language.

public copyToLang(mixed $destinationLang[, mixed $includeContent = true ][, mixed $includeModuleAndCmd = true ][, mixed $includeName = true ][, mixed $includeMetaData = true ][, mixed $includeProtection = true ][, mixed $includeEditingStatus = true ][, mixed $followRedirects = false ][, mixed $followFallbacks = false ][, mixed $page = NULL ]) : Page
Parameters
$destinationLang : mixed

Language ID to set

$includeContent : mixed = true

Whether to copy content. Defaults to true.

$includeModuleAndCmd : mixed = true

Whether to copy module and cmd. Defaults to true.

$includeName : mixed = true

Whether to copy title, content title and slug. Defaults to true.

$includeMetaData : mixed = true

Whether to copy meta data. Defaults to true.

$includeProtection : mixed = true

Whether to copy protection. Defaults to true.

$includeEditingStatus : mixed = true

Copy the editing status if true otherwise false

$followRedirects : mixed = false

Whether to return a redirection page or the page its pointing at. Defaults to false, which returns the redirection page

$followFallbacks : mixed = false

Whether to return a fallback page or the page its pointing at. Defaults to false, witch returns the fallback page

$page : mixed = NULL
Return values
Page

The copy of $this or null on error

copyToNode()

Creates a copy of this page which belongs to another node.

public copyToNode(mixed $destinationNode[, mixed $includeContent = true ][, mixed $includeModuleAndCmd = true ][, mixed $includeName = true ][, mixed $includeMetaData = true ][, mixed $includeProtection = true ][, mixed $includeEditingStatus = true ][, mixed $followRedirects = false ][, mixed $followFallbacks = false ][, mixed $page = NULL ]) : Page
Parameters
$destinationNode : mixed

The other node

$includeContent : mixed = true

Whether to copy content. Defaults to true

$includeModuleAndCmd : mixed = true

Whether to copy module and cmd. Defaults to true

$includeName : mixed = true

Whether to copy title, content title and slug. Defaults to true

$includeMetaData : mixed = true

Whether to copy meta data. Defaults to true

$includeProtection : mixed = true

Whether to copy protection. Defaults to true

$includeEditingStatus : mixed = true

Copy the editing status if true otherwise not

$followRedirects : mixed = false

Whether to return a redirection page or the page its pointing at. Defaults to false, which returns the redirection page

$followFallbacks : mixed = false

Whether to return a fallback page or the page its pointing at. Defaults to false, witch returns the fallback page

$page : mixed = NULL
Return values
Page

The copy of $this or null on error

getActive()

Get status

public getActive([mixed $disregardScheduledPublishing = false ]) : bool
Parameters
$disregardScheduledPublishing : mixed = false
Return values
bool

$status

getChildren()

Returns an array of child pages (pages of the same language of all subnodes)

public getChildren() : array<string|int, mixed>
Return values
array<string|int, mixed>

List of page objects

getKeyAsString()

Returns this entity's key

public final getKeyAsString([string $separator = '/' ]) : string

If this entity has a composite key, the fields are separated by $separator.

Parameters
$separator : string = '/'

(optional) Separator for composite key fields, default "/"

Return values
string

Entity key as string

getLastModificationDateTime()

Returns the DateTime object for the modification time (for use in sitemap or so)

public getLastModificationDateTime() : DateTime
Return values
DateTime

DateTime Object

getURL()

Returns "$protocolAndDomainWithPathOffset/link/to/page$params.

public getURL(mixed $protocolAndDomainWithPathOffset, mixed $params) : mixed
Parameters
$protocolAndDomainWithPathOffset : mixed
$params : mixed

'?a=b'

getUseCustomApplicationTemplateForAllChannels()

Get useCustomApplicationTemplateForAllChannels

public getUseCustomApplicationTemplateForAllChannels() : int
Return values
int

$useCustomApplicationTemplateForAllChannels

getUseCustomContentForAllChannels()

Get useCustomContentForAllChannels

public getUseCustomContentForAllChannels() : int
Return values
int

$useCustomContentForAllChannels

getWidgetContent()

{@inheritDoc}

public getWidgetContent(mixed $widgetName, mixed $theme, mixed $page, mixed $channel) : mixed
Parameters
$widgetName : mixed
$theme : mixed
$page : mixed
$channel : mixed

getWidgetContentAttributeName()

Returns the name of the attribute used to parse Widget named $widgetName

public getWidgetContentAttributeName(mixed $widgetName) : string
Parameters
$widgetName : mixed
Return values
string

Attribute name used as getter name

isActive()

Alias for getActive()

public isActive([mixed $disregardScheduledPublishing = false ]) : bool
Parameters
$disregardScheduledPublishing : mixed = false
Return values
bool

setBackendProtection()

Set the Page backend protection

public setBackendProtection(mixed $enable[, mixed $ignorePermission = false ]) : void
Parameters
$enable : mixed
$ignorePermission : mixed = false

Set true for testing only

setContentOf()

Copies the content from the other page given.

public setContentOf(mixed $page[, mixed $includeThemeOptions = false ][, mixed $includeSeoOptions = false ]) : mixed
Parameters
$page : mixed
$includeThemeOptions : mixed = false

Adopt theme options if true

$includeSeoOptions : mixed = false

Adopt SEO options if true

setFrontendProtection()

Set the Page frontend protection

public setFrontendProtection(mixed $enable[, mixed $ignorePermission = false ]) : void
Parameters
$enable : mixed
$ignorePermission : mixed = false

Set true for testing only

setSlug()

Set slug

public setSlug(mixed $slug[, mixed $nextSlugCall = false ]) : mixed
Parameters
$slug : mixed
$nextSlugCall : mixed = false

set by { @see nextSlug() }

setUseCustomApplicationTemplateForAllChannels()

Get useCustomApplicationTemplateForAllChannels

public setUseCustomApplicationTemplateForAllChannels(mixed $useCustomApplicationTemplateForAllChannels) : int
Parameters
$useCustomApplicationTemplateForAllChannels : mixed
Return values
int

$useCustomApplicationTemplateForAllChannels

setUseCustomContentForAllChannels()

Get useCustomContentForAllChannels

public setUseCustomContentForAllChannels(mixed $useCustomContentForAllChannels) : int
Parameters
$useCustomContentForAllChannels : mixed
Return values
int

$useCustomContentForAllChannels

setUseSkinForAllChannels()

Set useSkinForAllChannels

public setUseSkinForAllChannels(mixed $useSkinForAllChannels) : int
Parameters
$useSkinForAllChannels : mixed
Return values
int

$useSkinForAllChannels

titleExists()

Check whether the page $title already exists under the pages in $parentNode

public titleExists(mixed $parentNode, mixed $lang, mixed $title) : bool
Parameters
$parentNode : mixed

Parent node object

$lang : mixed

Language ID

$title : mixed

Page title

Return values
bool

Return true if the page title exists, otherwise false

createAccessId()

protected createAccessId() : mixed

eraseAccessId()

protected eraseAccessId(mixed $id) : mixed
Parameters
$id : mixed

getContentTemplateForWidget()

Returns the template in which the widget can be used

protected getContentTemplateForWidget(string $widgetName, int $langId, Page $page, string $channel) : Sigma
Parameters
$widgetName : string

Name of the Widget to get template for

$langId : int

Language ID

$page : Page

Current page

$channel : string

Current channel

Return values
Sigma

Template which may contain the widget

getFallbackLocaleCodes()

Returns a list of all locale codes ordered by fallback order

protected getFallbackLocaleCodes() : array<string|int, mixed>
  • First entry is the current locale
  • Second entry is the default locale (if different from current, it's omitted otherwise)
  • Then all other locales follow (in no particular order)
Tags
todo

Order the array by the fallback order (same as in ContentManager)

Return values
array<string|int, mixed>

List of locale codes

getStringRepresentationBlank()

Whether blank string representations are valid

protected getStringRepresentationBlank() : bool
Return values
bool

Whether blank string representations are valid

getStringRepresentationFields()

Returns a list of fields available in the string representation

protected getStringRepresentationFields() : array<string|int, mixed>
Return values
array<string|int, mixed>

List of field names

getStringRepresentationFormat()

Returns the sprintf() format for the string representation

protected getStringRepresentationFormat() : string
Return values
string

sprintf() format string

isSetModuleValid()

Verify if the set name in {@see static::$module} is a valid component name.

protected isSetModuleValid() : bool
Return values
bool

True of static::$module refers to an existing component

refreshSlug()

Sets a correct slug based on the current title.

protected refreshSlug() : mixed

The result may need a suffix if titles of pages on sibling nodes result in the same slug.

slugify()

protected slugify(mixed $string) : mixed
Parameters
$string : mixed

        
On this page

Search results