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>
- List of fileContentParsers
- $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|bool
- Get number of fulltext records
- getNumberOfSections() : int
- Get number of section records
- getNumberOfWords() : int|bool
- Get number of words
- 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() : mixed
- Remove indexed phash row
- saveKeywords() : mixed
- Save keywords
- saveStopWords() : mixed
- Save stop words
- addAdditionalInformation() : mixed
- 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
List of fileContentParsers
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(int $phash) : array<string|int, mixed>
Parameters
- $phash : int
Return values
array<string|int, mixed>getNumberOfFulltextRecords()
Get number of fulltext records
public
getNumberOfFulltextRecords(int $phash) : int|bool
Parameters
- $phash : int
Return values
int|boolgetNumberOfSections()
Get number of section records
public
getNumberOfSections(int $pageHash) : int
Parameters
- $pageHash : int
Return values
intgetNumberOfWords()
Get number of words
public
getNumberOfWords(int $phash) : int|bool
Parameters
- $phash : int
Return values
int|boolgetPageHashTypes()
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 ]) : mixed
Parameters
- $phashList : string
- $pageId : int
- $depth : int = 4
saveKeywords()
Save keywords
public
saveKeywords(array<string|int, mixed> $words, int $pageId) : mixed
Parameters
- $words : array<string|int, mixed>
-
keywords
- $pageId : int
-
page id
saveStopWords()
Save stop words
public
saveStopWords(array<string|int, mixed> $words) : mixed
Parameters
- $words : array<string|int, mixed>
-
stop words
addAdditionalInformation()
Add additional information to the result row
protected
addAdditionalInformation(array<string|int, mixed> &$row) : mixed
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
-
page id
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