Nextcloud PHP API (master)

IMigrator

Tags
since
24.0.0

Table of Contents

Methods

canImport()  : bool
Checks whether it is able to import a version of the export format for this migrator Use $importSource->getMigratorVersion($this->getId()) to get the version from the archive
export()  : void
Export user data
getDescription()  : string
Returns the description
getDisplayName()  : string
Returns the display name
getId()  : string
Returns the unique ID
getVersion()  : int
Returns the version of the export format for this migrator
import()  : void
Import user data

Methods

canImport()

Checks whether it is able to import a version of the export format for this migrator Use $importSource->getMigratorVersion($this->getId()) to get the version from the archive

public canImport(IImportSource $importSource) : bool
Parameters
$importSource : IImportSource
Tags
since
24.0.0
Return values
bool

getDescription()

Returns the description

public getDescription() : string
Tags
since
24.0.0
Return values
string

getDisplayName()

Returns the display name

public getDisplayName() : string
Tags
since
24.0.0
Return values
string

getId()

Returns the unique ID

public getId() : string
Tags
since
24.0.0
Return values
string

getVersion()

Returns the version of the export format for this migrator

public getVersion() : int
Tags
since
24.0.0
Return values
int

        
On this page

Search results