프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$maximumNumberOfRecords | integer |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$databaseConnection | TYPO3\CMS\Core\Database\DatabaseConnection |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Initializes the class. | |
clearExpiredCacheEntries ( ) : void | Removes expired path cache entries. | |
clearPathCacheForPage ( integer $pageId ) : void | Empties the path cache for one page. | |
clearUrlCache ( ) : mixed | Empties the URL cache. | |
clearUrlCacheById ( string $cacheId ) : void | Clears URL cache by cache id. | |
clearUrlCacheForPage ( integer $pageId ) : void | Empties the URL cache for one page. | |
expireCache ( integer $pageId, integer | null $languageId = null ) : void | Expires cache for the given page and language. | |
getPathFromCacheByPageId ( integer $rootPageId, integer $languageId, integer $pageId, string $mpVar ) : DmitryDulepov\Realurl\Cache\PathCacheEntry | null | Obtains non-expired (!) path from the path cache. | |
getPathFromCacheByPagePath ( integer $rootPageId, integer $languageId, string | null $mountPoint, string $pagePath ) : DmitryDulepov\Realurl\Cache\PathCacheEntry | null | Obtains path from the path cache. | |
getUrlFromCacheByOriginalUrl ( integer $rootPageId, string $originalUrl ) : DmitryDulepov\Realurl\Cache\UrlCacheEntry | null | Gets the entry from cache. | |
getUrlFromCacheBySpeakingUrl ( integer $rootPageId, string $speakingUrl, integer | null $languageId ) : DmitryDulepov\Realurl\Cache\UrlCacheEntry | null | Gets the entry from cache. Language id is needed here because in some cases URLs can be the same for different languages (_DOMAINS & use alias, for example). | |
putPathToCache ( DmitryDulepov\Realurl\Cache\PathCacheEntry $cacheEntry ) : void | Puts path to the cache. | |
putUrlToCache ( DmitryDulepov\Realurl\Cache\UrlCacheEntry $cacheEntry ) : void | Sets the entry to cache. |
메소드 | 설명 | |
---|---|---|
limitTableRecords ( string $tableName ) : boolean | Limits amount of records in the table. This does not run often. |
public clearExpiredCacheEntries ( ) : void | ||
리턴 | void |
public clearPathCacheForPage ( integer $pageId ) : void | ||
$pageId | integer | |
리턴 | void |
public clearUrlCacheById ( string $cacheId ) : void | ||
$cacheId | string | |
리턴 | void |
public clearUrlCacheForPage ( integer $pageId ) : void | ||
$pageId | integer | |
리턴 | void |
public getPathFromCacheByPagePath ( integer $rootPageId, integer $languageId, string | null $mountPoint, string $pagePath ) : DmitryDulepov\Realurl\Cache\PathCacheEntry | null | ||
$rootPageId | integer | |
$languageId | integer | |
$mountPoint | string | null | null means exclude from search |
$pagePath | string | |
리턴 | DmitryDulepov\Realurl\Cache\PathCacheEntry | null |
protected limitTableRecords ( string $tableName ) : boolean | ||
$tableName | string | |
리턴 | boolean |
public putPathToCache ( DmitryDulepov\Realurl\Cache\PathCacheEntry $cacheEntry ) : void | ||
$cacheEntry | DmitryDulepov\Realurl\Cache\PathCacheEntry | |
리턴 | void |
public putUrlToCache ( DmitryDulepov\Realurl\Cache\UrlCacheEntry $cacheEntry ) : void | ||
$cacheEntry | DmitryDulepov\Realurl\Cache\UrlCacheEntry | |
리턴 | void |
protected DatabaseConnection,TYPO3\CMS\Core\Database $databaseConnection | ||
리턴 | TYPO3\CMS\Core\Database\DatabaseConnection |