AdministrationRepository

class \TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository

Administration repository

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

getExternalDocumentsStatistic()

Get statistic of external documents

public getExternalDocumentsStatistic() : array

Return values

array

getGeneralSearchStatistic()

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|null

getGrlistRecord()

Get group list information

public getGrlistRecord(string $phash) : array

Parameters

$phash : string

Return values

array

getNumberOfFulltextRecords()

public getNumberOfFulltextRecords(string $phash) : int|false

Parameters

$phash : string

Return values

int|false

getNumberOfSections()

Get number of section records

public getNumberOfSections(string $pageHash) : int

Parameters

$pageHash : string

Return values

int

getNumberOfWords()

public getNumberOfWords(string $phash) : int|false

Parameters

$phash : string

Return values

int|false

getPageHashTypes()

Get hash types

public getPageHashTypes() : array

Return values

array

getPageStatistic()

Get page statistic

public getPageStatistic() : array

Return values

array

getRecordsNumbers()

Get count of the tables used for indexed_search

public getRecordsNumbers() : array

Return values

array

getTree()

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

array

removeIndexedPageContent()

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

int

extGetTreeList()

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

getPhashRowsForPageId()

protected getPhashRowsForPageId(int $pageId) : array

Parameters

$pageId : int

Return values

array

makeItemTypeIcon()

Collect the type icons

protected makeItemTypeIcon(string $itemType) : string

Parameters

$itemType : string

Return values

string
On this page