‪TYPO3CMS  11.5
TYPO3\CMS\Extensionmanager\Remote\ListableRemoteInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Extensionmanager\Remote\ListableRemoteInterface:
TYPO3\CMS\Extensionmanager\Remote\TerExtensionRemote

Public Member Functions

 getAvailablePackages (bool $force=false)
 
bool needsUpdate ()
 
DateTimeInterface getLastUpdate ()
 

Detailed Description

API for downloading a list of available packages from a server.

Definition at line 23 of file ListableRemoteInterface.php.

Member Function Documentation

◆ getAvailablePackages()

TYPO3\CMS\Extensionmanager\Remote\ListableRemoteInterface::getAvailablePackages ( bool  $force = false)

Fetches a list of available packages / extensions from a remote source.

Parameters
bool$force

Implemented in TYPO3\CMS\Extensionmanager\Remote\TerExtensionRemote.

◆ getLastUpdate()

DateTimeInterface TYPO3\CMS\Extensionmanager\Remote\ListableRemoteInterface::getLastUpdate ( )

Get the time when the remote was updated the last time.

Returns
‪\DateTimeInterface

Implemented in TYPO3\CMS\Extensionmanager\Remote\TerExtensionRemote.

◆ needsUpdate()

bool TYPO3\CMS\Extensionmanager\Remote\ListableRemoteInterface::needsUpdate ( )

Checks whether the remote is outdated and should fetch latest updates.

Returns
‪bool

Implemented in TYPO3\CMS\Extensionmanager\Remote\TerExtensionRemote.