TerExtensionCatalogue

readonly class \TYPO3\CMS\Extensionmanager\Domain\TerExtensionCatalogue

Implements
ExtensionCatalogueInterface

The TER catalogue, read live through the REST API instead of the weekly extensions.xml.gz dump imported into the database.

The extensions handed out keep the "ter" remote identifier, so downloading one still goes through the registered remote for it.

Table of Contents

Interfaces

ExtensionCatalogueInterface
The catalogue of extensions offered for installation, as the "Get Extensions" module browses it: one page of the list at a time, the search, the versions of a single extension and the distributions.

Methods

__construct()  : mixed
countAll()  : int
The number of extensions {@see findAll} pages through.
countByTitleOrAuthorNameOrExtensionKey()  : int
The number of extensions {@see findByTitleOrAuthorNameOrExtensionKey} pages through.
findAll()  : Extension[]
One page of the catalogue, newest extension first.
findAllCommunityDistributions()  : Extension[]
The distributions published by anyone else.
findAllOfficialDistributions()  : Extension[]
The distributions published by the TYPO3 CMS team.
findByExtensionKeyOrderedByVersion()  : Extension[]
All versions of a single extension, highest version first.
findByTitleOrAuthorNameOrExtensionKey()  : Extension[]
One page of the extensions matching a search term, most relevant first.
findOneByCurrentVersionByExtensionKey()  : Extension|null
The version of an extension that is currently offered for installation, or null if the catalogue does not know the extension.

Methods

countAll()

The number of extensions {@see findAll} pages through.

public countAll() : int

Return values

int

countByTitleOrAuthorNameOrExtensionKey()

The number of extensions {@see findByTitleOrAuthorNameOrExtensionKey} pages through.

public countByTitleOrAuthorNameOrExtensionKey(string $searchString) : int

Parameters

$searchString : string

Return values

int

findAll()

One page of the catalogue, newest extension first.

public findAll(int $offset, int $limit) : Extension[]

Parameters

$offset : int
$limit : int

Return values

Extension[]

findAllCommunityDistributions()

The distributions published by anyone else.

public findAllCommunityDistributions([bool $showUnsuitableDistributions = false ]) : Extension[]

Parameters

$showUnsuitableDistributions : bool = false

Return values

Extension[]

findAllOfficialDistributions()

The distributions published by the TYPO3 CMS team.

public findAllOfficialDistributions([bool $showUnsuitableDistributions = false ]) : Extension[]

Parameters

$showUnsuitableDistributions : bool = false

Return values

Extension[]

findByExtensionKeyOrderedByVersion()

All versions of a single extension, highest version first.

public findByExtensionKeyOrderedByVersion(string $extensionKey) : Extension[]

Parameters

$extensionKey : string

Return values

Extension[]

findByTitleOrAuthorNameOrExtensionKey()

One page of the extensions matching a search term, most relevant first.

public findByTitleOrAuthorNameOrExtensionKey(string $searchString, int $offset, int $limit) : Extension[]

Parameters

$searchString : string
$offset : int
$limit : int

Return values

Extension[]

findOneByCurrentVersionByExtensionKey()

The version of an extension that is currently offered for installation, or null if the catalogue does not know the extension.

public findOneByCurrentVersionByExtensionKey(string $extensionKey) : Extension|null

Parameters

$extensionKey : string

Return values

Extension|null
On this page