Contents

Tailor\Classes\ContentDecoder\ImportDecoder

Overview

ImportDecoder applies import data using the permissive trust rules of backend imports, where the operator is trusted with the data.

Extends

Protected Properties

protected $import


Public Methods

public __construct()

public __construct($import): void

__construct with the import model hosting events and file resolution.

Show inherited public methods

Inherited Public Methods

Protected Methods

protected beforeDecodeAttribute()

protected beforeDecodeAttribute($model, $attr, &$value): bool 

beforeDecodeAttribute fires the import transformation event on the host model.

protected decodeFileRelation()

protected decodeFileRelation($model, $attr, $value, $sessionKey): void 

decodeFileRelation resolves file path references through the import model.

Show inherited protected methods

Inherited Protected Methods