PresetRepository
FinalYes
Export preset repository manages export presets.
This class is not considered part of the public TYPO3 API.
Table of Contents
Constants
- PRESET_TABLE = 'tx_impexp_presets'
Properties
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
$connection
        protected
            Connection
    $connection
    
    
    
    
    
    
$context
        protected
            Context
    $context
    
    
    
    
    
    
$queryBuilder
        protected
            QueryBuilder
    $queryBuilder
    
    
    
    
    
    
Methods
__construct()
    public
                    __construct(ConnectionPool $connectionPool, Context $context) : mixed
    Parameters
- $connectionPool : ConnectionPool
- $context : Context
createPreset()
    public
                    createPreset(array<string|int, mixed> $data) : void
    Parameters
- $data : array<string|int, mixed>
deletePreset()
    public
                    deletePreset(int $uid) : void
    Parameters
- $uid : int
Tags
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
Return values
array<string|int, mixed>updatePreset()
    public
                    updatePreset(int $uid, array<string|int, mixed> $data) : void
    Parameters
- $uid : int
- $data : array<string|int, mixed>
Tags
getBackendUser()
    protected
                    getBackendUser() : BackendUserAuthentication
    Return values
BackendUserAuthenticationgetPreset()
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