TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AdministrationRepository Class Reference

Public Member Functions

 getGrlistRecord ($phash)
 
 getNumberOfFulltextRecords ($phash)
 
 getNumberOfWords ($phash)
 
 getExternalDocumentsStatistic ()
 
 getRecordsNumbers ()
 
 getPageHashTypes ()
 
 getNumberOfSections ($pageHash)
 
 getPageStatistic ()
 
 getGeneralSearchStatistic ($additionalWhere, $pageUid, $max=50)
 
 saveStopWords (array $words)
 
 saveKeywords (array $words, $pageId)
 

Public Attributes

 $external_parsers = []
 

Protected Member Functions

 countUniqueTypes ($itemType)
 
 addAdditionalInformation (array &$row)
 
 extGetTreeList ($id, $depth, $begin=0, $perms_clause)
 
 makeItemTypeIcon ($itemType)
 
 getBackendUserAuthentication ()
 

Protected Attributes

 $allPhashListed = []
 
 $iconFileNameCache = []
 

Detailed Description

Administration repository

Definition at line 34 of file AdministrationRepository.php.

Member Function Documentation

countUniqueTypes (   $itemType)
protected

Count unique types

Parameters
string$itemType
Returns
int

Definition at line 270 of file AdministrationRepository.php.

References GeneralUtility\makeInstance().

Referenced by AdministrationRepository\getPageHashTypes().

extGetTreeList (   $id,
  $depth,
  $begin = 0,
  $perms_clause 
)
protected

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

Parameters
int$idpage id
int$depthto traverse down the page tree.
int$beginis an optional integer that determines at which level in the tree to start collecting uid's. Zero means 'start right away', 1 = 'next level and out'
string$perms_clause
Returns
string Returns the list with a comma in the end + id itself

Definition at line 649 of file AdministrationRepository.php.

References GeneralUtility\makeInstance().

getBackendUserAuthentication ( )
protected
Returns
BackendUserAuthentication

Definition at line 804 of file AdministrationRepository.php.

References $GLOBALS.

getExternalDocumentsStatistic ( )

Get statistic of external documents

Returns
array

Definition at line 130 of file AdministrationRepository.php.

References AdministrationRepository\addAdditionalInformation(), and GeneralUtility\makeInstance().

getGeneralSearchStatistic (   $additionalWhere,
  $pageUid,
  $max = 50 
)

Get general statistic

Parameters
string$additionalWhere
int$pageUid
int$max
Returns
array|NULL

Definition at line 390 of file AdministrationRepository.php.

References GeneralUtility\intExplode(), GeneralUtility\makeInstance(), and QueryHelper\stripLogicalOperatorPrefix().

getGrlistRecord (   $phash)

Get group list information

Parameters
int$phash
Returns
array

Definition at line 59 of file AdministrationRepository.php.

References GeneralUtility\makeInstance().

Referenced by AdministrationRepository\addAdditionalInformation().

getNumberOfFulltextRecords (   $phash)

Get number of fulltext records

Parameters
int$phash
Returns
int|bool

Definition at line 87 of file AdministrationRepository.php.

References GeneralUtility\makeInstance().

Referenced by AdministrationRepository\addAdditionalInformation().

getNumberOfSections (   $pageHash)

Get number of section records

Parameters
int$pageHash
Returns
int

Definition at line 295 of file AdministrationRepository.php.

References GeneralUtility\makeInstance().

Referenced by AdministrationRepository\addAdditionalInformation().

getNumberOfWords (   $phash)

Get number of words

Parameters
int$phash
Returns
int|bool

Definition at line 109 of file AdministrationRepository.php.

References GeneralUtility\makeInstance().

Referenced by AdministrationRepository\addAdditionalInformation().

getPageHashTypes ( )

Get hash types

Returns
array

Definition at line 230 of file AdministrationRepository.php.

References AdministrationRepository\countUniqueTypes(), and GeneralUtility\makeInstance().

getPageStatistic ( )

Get page statistic

Returns
array

Definition at line 316 of file AdministrationRepository.php.

References AdministrationRepository\addAdditionalInformation(), and GeneralUtility\makeInstance().

getRecordsNumbers ( )

Get count of the tables used for indexed_search

Returns
array

Definition at line 203 of file AdministrationRepository.php.

References GeneralUtility\makeInstance().

makeItemTypeIcon (   $itemType)
protected

Collect the type icons

Parameters
string$itemType
Returns
string

Definition at line 787 of file AdministrationRepository.php.

saveKeywords ( array  $words,
  $pageId 
)

Save keywords

Parameters
array$wordskeywords
int$pageIdpage id
Returns
void

Definition at line 757 of file AdministrationRepository.php.

References BackendUtility\getRecord(), GeneralUtility\makeInstance(), and GeneralUtility\trimExplode().

saveStopWords ( array  $words)

Save stop words

Parameters
array$wordsstop words
Returns
void

Definition at line 733 of file AdministrationRepository.php.

References GeneralUtility\makeInstance().

Member Data Documentation

$allPhashListed = []
protected

Definition at line 46 of file AdministrationRepository.php.

$external_parsers = []

Definition at line 41 of file AdministrationRepository.php.

$iconFileNameCache = []
protected

Definition at line 51 of file AdministrationRepository.php.