AdministrationRepository
class \
Administration repository
Internal
This class is a specific repository implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Properties
- $allPhashListed : array
- $iconFileNameCache : array
Methods
- __construct() : mixed
- getExternalDocumentsStatistic() : array
- Get statistic of external documents
- getGeneralSearchStatistic() : array|null
- Get general statistic
- getGrlistRecord() : array
- Get group list information
- getNumberOfFulltextRecords() : int|false
- getNumberOfSections() : int
- Get number of section records
- getNumberOfWords() : int|false
- getPageHashTypes() : array
- Get hash types
- getPageStatistic() : array
- Get page statistic
- getRecordsNumbers() : array
- Get count of the tables used for indexed_search
- getTree() : array
- Get the page tree by using \TYPO3\CMS\Backend\Tree\View\PageTreeView
- removeIndexedPageContent() : void
- Removes the index of a page's own content, which is created when the page is rendered in the frontend.
- removeIndexedPhashRow() : void
- Remove indexed phash row
- saveStopWords() : void
- Save stop words
- addAdditionalInformation() : void
- Add additional information to the result row
- countUniqueTypes() : int
- Count unique types
- extGetTreeList() : array
- Generates a list of Page-uid's from $id.
- getBackendUserAuthentication() : BackendUserAuthentication
- getPhashRowsForPageId() : array
- makeItemTypeIcon() : string
- Collect the type icons
Properties
$allPhashListed
protected
array
$allPhashListed
= []
$iconFileNameCache
protected
array
$iconFileNameCache
= []
Methods
__construct()
public
__construct(ExternalMediaTypes $externalMediaTypes, CacheFlusher $cacheFlusher, PageDescendantsRepository $pageDescendantsRepository) : mixed
Parameters
- $externalMediaTypes : ExternalMediaTypes
- $cacheFlusher : CacheFlusher
- $pageDescendantsRepository : PageDescendantsRepository
getExternalDocumentsStatistic()
Get statistic of external documents
public
getExternalDocumentsStatistic() : array
Return values
arraygetGeneralSearchStatistic()
Get general statistic
public
getGeneralSearchStatistic(string $additionalWhere, int $pageUid[, int $max = 50 ]) : array|null
Parameters
- $additionalWhere : string
- $pageUid : int
- $max : int = 50
Return values
array|nullgetGrlistRecord()
Get group list information
public
getGrlistRecord(string $phash) : array
Parameters
- $phash : string
Return values
arraygetNumberOfFulltextRecords()
public
getNumberOfFulltextRecords(string $phash) : int|false
Parameters
- $phash : string
Return values
int|falsegetNumberOfSections()
Get number of section records
public
getNumberOfSections(string $pageHash) : int
Parameters
- $pageHash : string
Return values
intgetNumberOfWords()
public
getNumberOfWords(string $phash) : int|false
Parameters
- $phash : string
Return values
int|falsegetPageHashTypes()
Get hash types
public
getPageHashTypes() : array
Return values
arraygetPageStatistic()
Get page statistic
public
getPageStatistic() : array
Return values
arraygetRecordsNumbers()
Get count of the tables used for indexed_search
public
getRecordsNumbers() : array
Return values
arraygetTree()
Get the page tree by using \TYPO3\CMS\Backend\Tree\View\PageTreeView
public
getTree(int $pageId, int $depth, string $mode) : array
Parameters
- $pageId : int
- $depth : int
- $mode : string
Return values
arrayremoveIndexedPageContent()
Removes the index of a page's own content, which is created when the page is rendered in the frontend.
public
removeIndexedPageContent(int $pageId) : void
Entries created by indexing configurations (records, external URLs, files) are kept.
Parameters
- $pageId : int
removeIndexedPhashRow()
Remove indexed phash row
public
removeIndexedPhashRow(string $phashList, int $pageId[, int $depth = 4 ]) : void
Parameters
- $phashList : string
- $pageId : int
- $depth : int = 4
saveStopWords()
Save stop words
public
saveStopWords(array $words) : void
Parameters
- $words : array
addAdditionalInformation()
Add additional information to the result row
protected
addAdditionalInformation(array &$row) : void
Parameters
- $row : array
countUniqueTypes()
Count unique types
protected
countUniqueTypes(string $itemType) : int
Parameters
- $itemType : string
Return values
intextGetTreeList()
Generates a list of Page-uid's from $id.
protected
extGetTreeList(int $id) : array
The only pages excluded from the list are deleted pages.
Parameters
- $id : int
Return values
array —Returns an array with all page IDs
getBackendUserAuthentication()
protected
getBackendUserAuthentication() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetPhashRowsForPageId()
protected
getPhashRowsForPageId(int $pageId) : array
Parameters
- $pageId : int
Return values
arraymakeItemTypeIcon()
Collect the type icons
protected
makeItemTypeIcon(string $itemType) : string
Parameters
- $itemType : string