kernel/classes/ezurlaliasml.php
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
Properties

$PersistentDataDirty= ''
inheritedInherited from:
\eZPersistentObject::$$PersistentDataDirty
Details
- Type
- n/a
- Inherited_from
- \eZPersistentObject::$$PersistentDataDirty
Methods

attribute(
$attr, $noFunction
=
false
)
:
void
inherited
Inherited from:
\eZPersistentObject::attribute()
Parameters
| Name | Type | Description |
|---|---|---|
| $attr | ||
| $noFunction |

choosePrioritizedRow(
array $rows
)
:
array | false
static
Chooses the most prioritized row (based on language) of $rows and returns it.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $rows | array |
| Type | Description |
|---|---|
| array | false | The most prioritized row, or false if no match was found |

convertToAlias(
$urlElement, $defaultValue
=
false
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $urlElement | ||
| $defaultValue |

convertToAliasCompat(
$urlElement, $defaultValue
=
false
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $urlElement | ||
| $defaultValue |

count(
$def, $conds
=
null, $field
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $conds | ||
| $field |

create(
$element, $action, $parentID, $language
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $element | ||
| $action | ||
| $parentID | ||
| $language |

eZPersistentObject(
$row
)
:
void
inherited
Inherited from:
\eZPersistentObject::eZPersistentObject()
Parameters
| Name | Type | Description |
|---|---|---|
| $row |

fetchByAction(
$actionName, $actionValue, $maskLanguages
=
false, $onlyPrioritized
=
false, $includeRedirections
=
false
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $actionName | ||
| $actionValue | ||
| $maskLanguages | ||
| $onlyPrioritized | ||
| $includeRedirections |

fetchByParentID(
$id, $maskLanguages
=
false, $onlyPrioritized
=
false, $includeRedirections
=
true
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $id | ||
| $maskLanguages | ||
| $onlyPrioritized | ||
| $includeRedirections |

fetchByPath(
$uriString, $glob
=
false
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $uriString | ||
| $glob |

fetchNodeIDByPath(
$uriString, $glob
=
false
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $uriString | ||
| $glob |

fetchObject(
$def, $field_filters, $conds, $asObject
=
true, $grouping
=
null, $custom_fields
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $field_filters | ||
| $conds | ||
| $asObject | ||
| $grouping | ||
| $custom_fields |

fetchObjectList(
$def, $field_filters
=
null, $conds
=
null, $sorts
=
null, $limit
=
null, $asObject
=
true, $grouping
=
false, $custom_fields
=
null, $custom_tables
=
null, $custom_conds
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $field_filters | ||
| $conds | ||
| $sorts | ||
| $limit | ||
| $asObject | ||
| $grouping | ||
| $custom_fields | ||
| $custom_tables | ||
| $custom_conds |

fetchPathByActionList(
$actionName, $actionValues, $locale
=
null
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $actionName | ||
| $actionValues | ||
| $locale |

fill(
$row
)
:
void
inherited
Inherited from:
\eZPersistentObject::fill()
Parameters
| Name | Type | Description |
|---|---|---|
| $row |

filterRows(
$rows, $onlyPrioritized
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $rows | ||
| $onlyPrioritized |

findUniqueText(
$parentElementID, $text, $action, $linkCheck
=
false, $languageID
=
false
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $parentElementID | ||
| $text | ||
| $action | ||
| $linkCheck | ||
| $languageID |

generateCond(
$table, $prevTable, $i, $langMask, $element
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $table | ||
| $prevTable | ||
| $i | ||
| $langMask | ||
| $element |

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

getPath(
$locale
=
null, $incomingLanguageList
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $locale | ||
| $incomingLanguageList |

getShortAttributeName(
$db, $def, $attrName
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $db | ||
| $def | ||
| $attrName |

handleRows(
$rows, $class_name, $asObject
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $rows | ||
| $class_name | ||
| $asObject |

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

newObjectOrder(
$def, $orderField, $conditions
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $orderField | ||
| $conditions |

remove(
$conditions
=
null, $extraConditions
=
null
)
:
void
inherited
Inherited from:
\eZPersistentObject::remove()
Parameters
| Name | Type | Description |
|---|---|---|
| $conditions | ||
| $extraConditions |

removeByAction(
$actionName, $actionValue
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $actionName | ||
| $actionValue |

removeObject(
$def, $conditions
=
null, $extraConditions
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $conditions | ||
| $extraConditions |

removeSingleEntry(
$parentID, $textMD5, $language
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $parentID | ||
| $textMD5 | ||
| $language |

reorderObject(
$def, $orderField, $conditions, $down
=
true
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $def | ||
| $orderField | ||
| $conditions | ||
| $down |

replaceFieldsWithShortNames(
$db, $fieldDefs, $fields
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $db | ||
| $fieldDefs | ||
| $fields |

reverseTranslate(
$uri, $uriString, $internalURIString
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $uri | ||
| $uriString | ||
| $internalURIString |

setHasDirtyData(
$hasDirtyData
)
:
void
inherited
Inherited from:
\eZPersistentObject::setHasDirtyData()
Parameters
| Name | Type | Description |
|---|---|---|
| $hasDirtyData |

setLangMaskAlwaysAvailable(
$langID, $actionName, $actionValue
)
:
void
static
Parameters
| Name | Type | Description |
|---|---|---|
| $langID | ||
| $actionName | ||
| $actionValue |

storeObject(
$obj, $fieldFilters
=
null
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $obj | ||
| $fieldFilters |

storePath(
$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 |

swapRow(
$table, $keys, $order_id, $rows, $id1, $id2
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $table | ||
| $keys | ||
| $order_id | ||
| $rows | ||
| $id1 | ||
| $id2 |

sync(
$fieldFilters
=
null
)
:
void
inherited
Inherited from:
\eZPersistentObject::sync()
Parameters
| Name | Type | Description |
|---|---|---|
| $fieldFilters |