‪TYPO3CMS  ‪main
TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository Class Reference

Public Member Functions

 getGrlistRecord (string $phash)
 
 getNumberOfFulltextRecords (string $phash)
 
 getNumberOfWords (string $phash)
 
 getExternalDocumentsStatistic ()
 
 getRecordsNumbers ()
 
 getPageHashTypes ()
 
 getNumberOfSections (string $pageHash)
 
 getPageStatistic ()
 
 getGeneralSearchStatistic (string $additionalWhere, int $pageUid, int $max=50)
 
 getTree (int $pageId, int $depth, string $mode)
 
 removeIndexedPhashRow (string $phashList, int $pageId, int $depth=4)
 
 saveStopWords (array $words)
 

Public Attributes

array $external_parsers = []
 

Protected Member Functions

 countUniqueTypes (string $itemType)
 
 addAdditionalInformation (array &$row)
 
 getPhashRowsForPageId (int $pageId)
 
array extGetTreeList (int $id)
 
array getPageTreeIds (int $id, int $depth, int $begin)
 
 makeItemTypeIcon (string $itemType)
 
 getBackendUserAuthentication ()
 

Protected Attributes

array $allPhashListed = []
 
array $iconFileNameCache = []
 

Detailed Description

Administration repository

This class is a specific repository implementation and is not considered part of the Public TYPO3 API.

Definition at line 36 of file AdministrationRepository.php.

Member Function Documentation

◆ addAdditionalInformation()

◆ countUniqueTypes()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::countUniqueTypes ( string  $itemType)
protected

◆ extGetTreeList()

array TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::extGetTreeList ( int  $id)
protected

Generates a list of Page-uid's from $id. The only pages excluded from the list are deleted pages.

Returns
‪array Returns an array with all page IDs

Definition at line 617 of file AdministrationRepository.php.

References TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository\getPageTreeIds().

◆ getBackendUserAuthentication()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::getBackendUserAuthentication ( )
protected

◆ getExternalDocumentsStatistic()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::getExternalDocumentsStatistic ( )

◆ getGeneralSearchStatistic()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::getGeneralSearchStatistic ( string  $additionalWhere,
int  $pageUid,
int  $max = 50 
)

◆ getGrlistRecord()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::getGrlistRecord ( string  $phash)

◆ getNumberOfFulltextRecords()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::getNumberOfFulltextRecords ( string  $phash)

◆ getNumberOfSections()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::getNumberOfSections ( string  $pageHash)

◆ getNumberOfWords()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::getNumberOfWords ( string  $phash)

◆ getPageHashTypes()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::getPageHashTypes ( )

◆ getPageStatistic()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::getPageStatistic ( )

◆ getPageTreeIds()

array TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::getPageTreeIds ( int  $id,
int  $depth,
int  $begin 
)
protected

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.

Parameters
int$id‪Start page id
int$depth‪Depth to traverse down the page tree.
int$begin‪Determines at which level in the tree to start collecting uid's. Zero means 'start right away', 1 = 'next level and out'
Returns
‪array Returns the list of pages

Definition at line 633 of file AdministrationRepository.php.

References TYPO3\CMS\Core\Database\Connection\PARAM_INT.

Referenced by TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository\extGetTreeList().

◆ getPhashRowsForPageId()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::getPhashRowsForPageId ( int  $pageId)
protected

◆ getRecordsNumbers()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::getRecordsNumbers ( )

Get count of the tables used for indexed_search

Definition at line 179 of file AdministrationRepository.php.

◆ getTree()

◆ makeItemTypeIcon()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::makeItemTypeIcon ( string  $itemType)
protected

◆ removeIndexedPhashRow()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::removeIndexedPhashRow ( string  $phashList,
int  $pageId,
int  $depth = 4 
)

◆ saveStopWords()

TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::saveStopWords ( array  $words)

Save stop words

Definition at line 729 of file AdministrationRepository.php.

Member Data Documentation

◆ $allPhashListed

array TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::$allPhashListed = []
protected

◆ $external_parsers

array TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::$external_parsers = []

Definition at line 41 of file AdministrationRepository.php.

◆ $iconFileNameCache

array TYPO3\CMS\IndexedSearch\Domain\Repository\AdministrationRepository::$iconFileNameCache = []
protected

Definition at line 44 of file AdministrationRepository.php.