프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$urlGateway |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
getContentIds ( array $remoteIds ) : array | Returns a list of Content ids for a list of remote ids. | |
getIdUrlMap ( array $ids ) : array | Returns a list of URLs for a list of URL ids. | |
getUrlIdMap ( array $urls ) : array | Returns a list of URL ids for a list of URLs. | |
insertUrl ( string $url ) : integer | string | Inserts a new $url and returns its id. | |
linkUrl ( integer | string $urlId, integer | string $fieldId, integer $versionNo ) | Creates link to URL with $urlId for field with $fieldId in $versionNo. | |
unlinkUrl ( integer | string $fieldId, integer $versionNo ) | Removes link to URL for $fieldId in $versionNo and cleans up possibly orphaned URLs. |
public __construct ( |
||
$urlGateway |
abstract public getContentIds ( array $remoteIds ) : array | ||
$remoteIds | array | An array of Content remote ids |
리턴 | array | An array of Content ids, with remote ids as keys |
public getIdUrlMap ( array $ids ) : array | ||
$ids | array | An array of URL ids |
리턴 | array | An array of URLs, with ids as keys |
public getUrlIdMap ( array $urls ) : array | ||
$urls | array | An array of URLs |
리턴 | array | An array of URL ids, with URLs as keys |