PresetRepository

FinalYes

Export preset repository manages export presets.

Internal

This class is not considered part of the public TYPO3 API.

Table of Contents

Constants

PRESET_TABLE  = 'tx_impexp_presets'

Properties

$connection  : Connection
$context  : Context
$queryBuilder  : QueryBuilder

Methods

__construct()  : mixed
createPreset()  : void
deletePreset()  : void
getPresets()  : array<string|int, mixed>
loadPreset()  : array<string|int, mixed>
updatePreset()  : void
getBackendUser()  : BackendUserAuthentication
getPreset()  : array<string|int, mixed>
Get raw preset from database. Does not unserialize preset_data as opposed to public loadPreset().

Constants

PRESET_TABLE

protected mixed PRESET_TABLE = 'tx_impexp_presets'

Properties

Methods

createPreset()

public createPreset(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>

getPresets()

public getPresets(int $pageId) : array<string|int, mixed>
Parameters
$pageId : int
Return values
array<string|int, mixed>

loadPreset()

public loadPreset(int $uid) : array<string|int, mixed>
Parameters
$uid : int
Tags
throws
MalformedPresetException
Return values
array<string|int, mixed>

getPreset()

Get raw preset from database. Does not unserialize preset_data as opposed to public loadPreset().

protected getPreset(int $uid) : array<string|int, mixed>
Parameters
$uid : int
Tags
throws
PresetNotFoundException
Return values
array<string|int, mixed>

        
On this page

Search results