Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

FieldType/Url/UrlStorage/Gateway.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\FieldType\Url\UrlStorage;
8
9 use eZ\Publish\SPI\FieldType\StorageGateway;
10
15 abstract class Gateway extends StorageGateway
16 {
26 abstract public function getIdUrlMap(array $ids);
27
37 abstract public function getUrlIdMap(array $urls);
38
46 abstract public function insertUrl($url);
47
55 abstract public function linkUrl($urlId, $fieldId, $versionNo);
56
64 abstract public function unlinkUrl($fieldId, $versionNo, array $excludeUrlIds = []);
65 }
eZ\Publish\Core\FieldType\Url\UrlStorage\Gateway
Abstract gateway class for Url field type.
Definition: FieldType/Url/UrlStorage/Gateway.php:16
eZ\Publish\Core\FieldType\Url\UrlStorage\Gateway\getUrlIdMap
getUrlIdMap(array $urls)
Returns a list of URL ids for a list of URLs.
eZ\Publish\Core\FieldType\Url\UrlStorage\Gateway\linkUrl
linkUrl($urlId, $fieldId, $versionNo)
Creates link to URL with $urlId for field with $fieldId in $versionNo.
eZ\Publish\Core\FieldType\Url\UrlStorage\Gateway\unlinkUrl
unlinkUrl($fieldId, $versionNo, array $excludeUrlIds=[])
Removes link to URL for $fieldId in $versionNo and cleans up possibly orphaned URLs.
eZ\Publish\Core\FieldType\Url\UrlStorage\Gateway\insertUrl
insertUrl($url)
Inserts a new $url and returns its id.
eZ\Publish\Core\FieldType\Url\UrlStorage\Gateway\getIdUrlMap
getIdUrlMap(array $ids)
Returns a list of URLs for a list of URL ids.
eZ\Publish\Core\FieldType\Url\UrlStorage
Converter for Url field type external storage.
Definition: UrlStorage.php:19
eZ\Publish\SPI\FieldType\StorageGateway
Base class for FieldType external storage gateways.
Definition: SPI/FieldType/StorageGateway.php:13
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.