eZ.RichTextLocationLink Class
The Richtext Location Link processor.
Constructor
eZ.RichTextLocationLink
()
Item Index
Methods
_buildLinkMapNode
(
Object
protected
-
links
Builds a map between the Location ids and the corresponding links.
Parameters:
-
links
NodeList
Returns:
Object:
_getInternalLinkList
(
Y.NodeList
protected
-
view
Returns a NodeList containing the internal links.
Parameters:
-
view
eZ.FieldView | eZ.FieldEditView
Returns:
Y.NodeList:
_loadLocations
(
protected
-
view
-
mapNode
-
callback
Fires the locationSearch event to load the linked Locations.
Parameters:
-
view
eZ.FieldView | eZ.FieldEditView -
mapNode
Object -
callback
Function
_updateLinks
(
protected
-
mapNode
-
error
-
results
Updates the links referenced in mapNode
with the search result.
Parameters:
-
mapNode
Object -
error
Error | False -
results
Array
process
(
-
view
-
[event]
Adds the REST Location id and the main language code to internal links.
Parameters:
-
view
eZ.FieldView | eZ.FieldEditView -
[event]
EventFacade optionalthe event parameters (if any) that triggered the process