AdministrationRepository
Administration repository
This class is a specific repository implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Properties
- $external_parsers : array<string|int, FileContentParser>
- $allPhashListed : array<string|int, mixed>
- $iconFileNameCache : array<string|int, mixed>
Methods
- getExternalDocumentsStatistic() : array<string|int, mixed>
- Get statistic of external documents
- getGeneralSearchStatistic() : array<string|int, mixed>|null
- Get general statistic
- getGrlistRecord() : array<string|int, mixed>
- Get group list information
- getNumberOfFulltextRecords() : int|false
- getNumberOfSections() : int
- Get number of section records
- getNumberOfWords() : int|false
- getPageHashTypes() : array<string|int, mixed>
- Get hash types
- getPageStatistic() : array<string|int, mixed>
- Get page statistic
- getRecordsNumbers() : array<string|int, mixed>
- Get count of the tables used for indexed_search
- getTree() : array<string|int, mixed>
- Get the page tree by using \TYPO3\CMS\Backend\Tree\View\PageTreeView
- 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<string|int, mixed>
- Generates a list of Page-uid's from $id.
- getBackendUserAuthentication() : BackendUserAuthentication
- getPageTreeIds() : array<string|int, mixed>
- Generates a list of Page-uid's from $id. List does not include $id itself The only pages excluded from the list are deleted pages.
- getPhashRowsForPageId() : array<string|int, mixed>
- makeItemTypeIcon() : string
- Collect the type icons
Properties
$external_parsers
public
array<string|int, FileContentParser>
$external_parsers
= []
$allPhashListed
protected
array<string|int, mixed>
$allPhashListed
= []
$iconFileNameCache
protected
array<string|int, mixed>
$iconFileNameCache
= []
Methods
getExternalDocumentsStatistic()
Get statistic of external documents
public
getExternalDocumentsStatistic() : array<string|int, mixed>
Return values
array<string|int, mixed>getGeneralSearchStatistic()
Get general statistic
public
getGeneralSearchStatistic(string $additionalWhere, int $pageUid[, int $max = 50 ]) : array<string|int, mixed>|null
Parameters
- $additionalWhere : string
- $pageUid : int
- $max : int = 50
Return values
array<string|int, mixed>|nullgetGrlistRecord()
Get group list information
public
getGrlistRecord(string $phash) : array<string|int, mixed>
Parameters
- $phash : string
Return values
array<string|int, mixed>getNumberOfFulltextRecords()
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<string|int, mixed>
Return values
array<string|int, mixed>getPageStatistic()
Get page statistic
public
getPageStatistic() : array<string|int, mixed>
Return values
array<string|int, mixed>getRecordsNumbers()
Get count of the tables used for indexed_search
public
getRecordsNumbers() : array<string|int, mixed>
Return values
array<string|int, mixed>getTree()
Get the page tree by using \TYPO3\CMS\Backend\Tree\View\PageTreeView
public
getTree(int $pageId, int $depth, string $mode) : array<string|int, mixed>
Parameters
- $pageId : int
- $depth : int
- $mode : string
Return values
array<string|int, mixed>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<string|int, mixed> $words) : void
Parameters
- $words : array<string|int, mixed>
addAdditionalInformation()
Add additional information to the result row
protected
addAdditionalInformation(array<string|int, mixed> &$row) : void
Parameters
- $row : array<string|int, mixed>
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<string|int, mixed>
The only pages excluded from the list are deleted pages.
Parameters
- $id : int
Return values
array<string|int, mixed> —Returns an array with all page IDs
getBackendUserAuthentication()
protected
getBackendUserAuthentication() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetPageTreeIds()
Generates a list of Page-uid's from $id. List does not include $id itself The only pages excluded from the list are deleted pages.
protected
getPageTreeIds(int $id, int $depth, int $begin) : array<string|int, mixed>
Parameters
- $id : int
-
Start page id
- $depth : int
-
Depth to traverse down the page tree.
- $begin : int
-
Determines at which level in the tree to start collecting uid's. Zero means 'start right away', 1 = 'next level and out'
Return values
array<string|int, mixed> —Returns the list of pages
getPhashRowsForPageId()
protected
getPhashRowsForPageId(int $pageId) : array<string|int, mixed>
Parameters
- $pageId : int
Return values
array<string|int, mixed>makeItemTypeIcon()
Collect the type icons
protected
makeItemTypeIcon(string $itemType) : string
Parameters
- $itemType : string