kernel/classes/ezurlaliasml.php

Show: inherited
Table of Contents

File containing the eZURLAlias class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
kernel  
Version
4.6.0  

\eZURLAliasML

Package: kernel

File containing the eZURLAlias class.

Parent(s)
\eZPersistentObject
Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Constants

Constant  LINK_ID_NOT_FOUND = 1
Constant  LINK_ID_WRONG_ACTION = 2
Constant  LINK_ALREADY_TAKEN = 3
Constant  ACTION_INVALID = 51
Constant  DB_ERROR = 101

Properties

Propertypublic  $Path= ''
Details
Type
n/a
Propertypublic  $PersistentDataDirty= ''
Details
Type
n/a
Inherited_from
\eZPersistentObject::$$PersistentDataDirty  
Propertyprivate  $charset= 'null'
static
Default valuenullDetails
Type
n/a

Methods

methodpublicactionToUrl(  $action ) : void
static

Parameters
Name Type Description
$action
methodpublicactionURL( ) : void

methodpublicattribute(  $attr,  $noFunction = false ) : void
inherited

Inherited from: \eZPersistentObject::attribute()
Parameters
Name Type Description
$attr
$noFunction
methodpublicattributes( ) : void
inherited

Inherited from: \eZPersistentObject::attributes()
methodpublicchoosePrioritizedRow( array $rows ) : array | false
static

Chooses the most prioritized row (based on language) of $rows and returns it.

Parameters
Name Type Description
$rows array
Returns
Type Description
array | false The most prioritized row, or false if no match was found
methodpubliccleanURL(  $url ) : void
static

Parameters
Name Type Description
$url
methodpublicconditionText(  $conditions ) : void
staticinherited

Inherited from: \eZPersistentObject::conditionText()
Parameters
Name Type Description
$conditions
methodpublicconditionTextByRow(  $conditions,  $row ) : void
staticinherited

Inherited from: \eZPersistentObject::conditionTextByRow()
Parameters
Name Type Description
$conditions
$row
methodpublicconvertPathToAlias(  $pathURL ) : void
static

Parameters
Name Type Description
$pathURL
methodpublicconvertToAlias(  $urlElement,  $defaultValue = false ) : void
static

Parameters
Name Type Description
$urlElement
$defaultValue
methodpublicconvertToAliasCompat(  $urlElement,  $defaultValue = false ) : void
static

Parameters
Name Type Description
$urlElement
$defaultValue
methodpubliccount(  $def,  $conds = null,  $field = null ) : void
staticinherited

Inherited from: \eZPersistentObject::count()
Parameters
Name Type Description
$def
$conds
$field
methodpubliccreate(  $element,  $action,  $parentID,  $language ) : void
static

Parameters
Name Type Description
$element
$action
$parentID
$language
methodprivatedbError(  $db ) : void
static

Parameters
Name Type Description
$db
methodpublicdefinition( ) : void
static

methodpubliceZPersistentObject(  $row ) : void
inherited

Inherited from: \eZPersistentObject::eZPersistentObject()
Parameters
Name Type Description
$row
methodpubliceZURLAliasML(  $row ) : void

Parameters
Name Type Description
$row
methodpublicescapeArray(  $array ) : void
staticinherited

Inherited from: \eZPersistentObject::escapeArray()
Parameters
Name Type Description
$array
methodpublicfetchByAction(  $actionName,  $actionValue,  $maskLanguages = false,  $onlyPrioritized = false,  $includeRedirections = false ) : void
static

Parameters
Name Type Description
$actionName
$actionValue
$maskLanguages
$onlyPrioritized
$includeRedirections
methodpublicfetchByParentID(  $id,  $maskLanguages = false,  $onlyPrioritized = false,  $includeRedirections = true ) : void
static

Parameters
Name Type Description
$id
$maskLanguages
$onlyPrioritized
$includeRedirections
methodpublicfetchByPath(  $uriString,  $glob = false ) : void
static

Parameters
Name Type Description
$uriString
$glob
methodpublicfetchNodeIDByPath(  $uriString,  $glob = false ) : void
static

Parameters
Name Type Description
$uriString
$glob
methodpublicfetchObject(  $def,  $field_filters,  $conds,  $asObject = true,  $grouping = null,  $custom_fields = null ) : void
staticinherited

Inherited from: \eZPersistentObject::fetchObject()
Parameters
Name Type Description
$def
$field_filters
$conds
$asObject
$grouping
$custom_fields
methodpublicfetchObjectList(  $def,  $field_filters = null,  $conds = null,  $sorts = null,  $limit = null,  $asObject = true,  $grouping = false,  $custom_fields = null,  $custom_tables = null,  $custom_conds = null ) : void
staticinherited

Inherited from: \eZPersistentObject::fetchObjectList()
Parameters
Name Type Description
$def
$field_filters
$conds
$sorts
$limit
$asObject
$grouping
$custom_fields
$custom_tables
$custom_conds
methodpublicfetchPathByActionList(  $actionName,  $actionValues,  $locale = null ) : void
static

Parameters
Name Type Description
$actionName
$actionValues
$locale
methodpublicfill(  $row ) : void
inherited

Inherited from: \eZPersistentObject::fill()
Parameters
Name Type Description
$row
methodprivatefilterRows(  $rows,  $onlyPrioritized ) : void
static

Parameters
Name Type Description
$rows
$onlyPrioritized
methodpublicfindUniqueText(  $parentElementID,  $text,  $action,  $linkCheck = false,  $languageID = false ) : void
static

Parameters
Name Type Description
$parentElementID
$text
$action
$linkCheck
$languageID
methodprivategenerateCond(  $table,  $prevTable,  $i,  $langMask,  $element ) : void
static

Parameters
Name Type Description
$table
$prevTable
$i
$langMask
$element
methodprivategenerateFullSelect(  $table ) : void
static

Parameters
Name Type Description
$table
methodprivategenerateGlobCond(  $table,  $prevTable,  $i,  $langMask,  $glob ) : void
static

Parameters
Name Type Description
$table
$prevTable
$i
$langMask
$glob
methodprivategenerateSelect(  $table,  $i,  $len ) : void
static

Parameters
Name Type Description
$table
$i
$len
methodpublicgetChildren( ) : void

methodpublicgetNewID( ) : void
static

methodpublicgetPath(  $locale = null,  $incomingLanguageList = null ) : void

Parameters
Name Type Description
$locale
$incomingLanguageList
methodpublicgetShortAttributeName(  $db,  $def,  $attrName ) : void
staticinherited

Inherited from: \eZPersistentObject::getShortAttributeName()
Parameters
Name Type Description
$db
$def
$attrName
methodpublichandleRows(  $rows,  $class_name,  $asObject ) : void
staticinherited

Inherited from: \eZPersistentObject::handleRows()
Parameters
Name Type Description
$rows
$class_name
$asObject
methodpublichasAttribute(  $attr ) : void
inherited

Inherited from: \eZPersistentObject::hasAttribute()
Parameters
Name Type Description
$attr
methodpublichasDirtyData( ) : void
inherited

Inherited from: \eZPersistentObject::hasDirtyData()
methodprivatelanguageScore(  $mask ) : void
static

Parameters
Name Type Description
$mask
methodprivatemd5(  $db,  $text,  $escape = true ) : void
static

Parameters
Name Type Description
$db
$text
$escape
methodpublicnewObjectOrder(  $def,  $orderField,  $conditions ) : void
staticinherited

Inherited from: \eZPersistentObject::newObjectOrder()
Parameters
Name Type Description
$def
$orderField
$conditions
methodpublicnodeIDFromAction(  $action ) : void
static

Parameters
Name Type Description
$action
methodpublicremove(  $conditions = null,  $extraConditions = null ) : void
inherited

Inherited from: \eZPersistentObject::remove()
Parameters
Name Type Description
$conditions
$extraConditions
methodpublicremoveByAction(  $actionName,  $actionValue ) : void
static

Parameters
Name Type Description
$actionName
$actionValue
methodpublicremoveObject(  $def,  $conditions = null,  $extraConditions = null ) : void
staticinherited

Inherited from: \eZPersistentObject::removeObject()
Parameters
Name Type Description
$def
$conditions
$extraConditions
methodpublicremoveSingleEntry(  $parentID,  $textMD5,  $language ) : void
static

Parameters
Name Type Description
$parentID
$textMD5
$language
methodpublicreorderObject(  $def,  $orderField,  $conditions,  $down = true ) : void
staticinherited

Inherited from: \eZPersistentObject::reorderObject()
Parameters
Name Type Description
$def
$orderField
$conditions
$down
methodpublicreplaceFieldsWithShortNames(  $db,  $fieldDefs,  $fields ) : void
staticinherited

Inherited from: \eZPersistentObject::replaceFieldsWithShortNames()
Parameters
Name Type Description
$db
$fieldDefs
$fields
methodpublicreverseTranslate(  $uri,  $uriString,  $internalURIString ) : void
static

Parameters
Name Type Description
$uri
$uriString
$internalURIString
methodpublicsanitizeURL(  $url ) : void
static

Parameters
Name Type Description
$url
methodpublicsetAttribute(  $name,  $value ) : void

Parameters
Name Type Description
$name
$value
methodpublicsetHasDirtyData(  $hasDirtyData ) : void
inherited

Inherited from: \eZPersistentObject::setHasDirtyData()
Parameters
Name Type Description
$hasDirtyData
methodpublicsetLangMaskAlwaysAvailable(  $langID,  $actionName,  $actionValue ) : void
static

Parameters
Name Type Description
$langID
$actionName
$actionValue
methodpublicstore(  $fieldFilters = null ) : void

Parameters
Name Type Description
$fieldFilters
methodpublicstoreObject(  $obj,  $fieldFilters = null ) : void
staticinherited

Inherited from: \eZPersistentObject::storeObject()
Parameters
Name Type Description
$obj
$fieldFilters
methodpublicstorePath(  $path,  $action,  $languageName = false,  $linkID = false,  $alwaysAvailable = false,  $rootID = false,  $cleanupElements = true,  $autoAdjustName = false,  $reportErrors = true,  $aliasRedirects = true ) : void
static

Parameters
Name Type Description
$path
$action
$languageName
$linkID
$alwaysAvailable
$rootID
$cleanupElements
$autoAdjustName
$reportErrors
$aliasRedirects
methodpublicstrtolower(  $text ) : void
static

Parameters
Name Type Description
$text
methodpublicswapRow(  $table,  $keys,  $order_id,  $rows,  $id1,  $id2 ) : void
staticinherited

Inherited from: \eZPersistentObject::swapRow()
Parameters
Name Type Description
$table
$keys
$order_id
$rows
$id1
$id2
methodpublicsync(  $fieldFilters = null ) : void
inherited

Inherited from: \eZPersistentObject::sync()
Parameters
Name Type Description
$fieldFilters
methodpublictranslate(  $uri,  $reverse = false ) : void
static

Parameters
Name Type Description
$uri
$reverse
methodpublicupdateObjectList(  $parameters ) : void
staticinherited

Inherited from: \eZPersistentObject::updateObjectList()
Parameters
Name Type Description
$parameters
methodpublicurlToAction(  $url ) : void
static

Parameters
Name Type Description
$url
methodpublicurlTranslationEnabledByUri(  $uri ) : void
static

Parameters
Name Type Description
$uri
Documentation was generated by DocBlox 0.18.1.