AliasLib
in package
Alias library
Tags
Table of Contents
Properties
- $_arrAliasTypes : mixed
- $_arrConfig : mixed
- $langId : mixed
- $em : mixed
- $hasLegacyPages : mixed
- $nodeRepository : mixed
- $pageRepository : mixed
Methods
- __construct() : mixed
- _createTemporaryAlias() : mixed
- _deleteAlias() : mixed
- _fetchTarget() : mixed
- _getAlias() : mixed
- _getAliases() : mixed
- _getAliasesCount() : mixed
- _getAliasesWithSameTarget() : mixed
- _getURL() : mixed
- _isLocalAliasTarget() : mixed
- _saveAlias() : mixed
- _setAliasTarget() : mixed
Properties
$_arrAliasTypes
public
mixed
$_arrAliasTypes
= array('local', 'url')
$_arrConfig
public
mixed
$_arrConfig
= null
$langId
public
mixed
$langId
$em
protected
mixed
$em
= null
$hasLegacyPages
protected
mixed
$hasLegacyPages
= false
$nodeRepository
protected
mixed
$nodeRepository
= null
$pageRepository
protected
mixed
$pageRepository
= null
Methods
__construct()
public
__construct([mixed $langId = 0 ]) : mixed
Parameters
- $langId : mixed = 0
_createTemporaryAlias()
public
_createTemporaryAlias() : mixed
_deleteAlias()
public
_deleteAlias(mixed $aliasId) : mixed
Parameters
- $aliasId : mixed
_fetchTarget()
public
_fetchTarget(mixed $page) : mixed
Parameters
- $page : mixed
_getAlias()
public
_getAlias(mixed $aliasId) : mixed
Parameters
- $aliasId : mixed
_getAliases()
public
_getAliases([mixed $limit = null ][, mixed $all = false ][, mixed $legacyPages = false ][, mixed $slug = null ]) : mixed
Parameters
- $limit : mixed = null
- $all : mixed = false
- $legacyPages : mixed = false
- $slug : mixed = null
_getAliasesCount()
public
_getAliasesCount(mixed $showLegacyPagealiases, mixed $slug) : mixed
Parameters
- $showLegacyPagealiases : mixed
- $slug : mixed
_getAliasesWithSameTarget()
public
_getAliasesWithSameTarget(mixed $aliasPage) : mixed
Parameters
- $aliasPage : mixed
_getURL()
public
_getURL(mixed $page) : mixed
Parameters
- $page : mixed
_isLocalAliasTarget()
public
_isLocalAliasTarget(mixed $page) : mixed
Parameters
- $page : mixed
_saveAlias()
public
_saveAlias(mixed $slug, mixed $target, mixed $is_local[, mixed $id = '' ]) : mixed
Parameters
- $slug : mixed
- $target : mixed
- $is_local : mixed
- $id : mixed = ''
_setAliasTarget()
public
_setAliasTarget(mixed &$arrAlias) : mixed
Parameters
- $arrAlias : mixed