a-blog cms PHP API Reference

FixedCsvImportSettings
in package
implements CsvImportSettings

FinalYes

テスト用: 機能可否を固定値で返す CsvImportSettings

実行環境のライセンスエディションに関わらず、CSV インポートの拡張機能を 有効/無効に固定して決定的にテストするために使う。

Table of Contents

Interfaces

CsvImportSettings
CSV インポートの拡張機能(プロ版以上限定機能)の有効可否を表す

Properties

$canImportMediaSource  : bool
$canUpdateByFieldKey  : bool

Methods

__construct()  : mixed
canImportMediaSource()  : bool
カスタムフィールドのメディア型・ブロックエディター本文への ローカルファイルパスからのメディア自動取り込みを許可するか(CMS-7715)
canUpdateByFieldKey()  : bool
カスタムフィールドキー(`*` プレフィックス付きラベル)による 既存エントリー/ユーザーの特定・更新を許可するか

Properties

Methods

__construct()

public __construct([bool $canUpdateByFieldKey = true ][, bool $canImportMediaSource = true ]) : mixed
Parameters
$canUpdateByFieldKey : bool = true
$canImportMediaSource : bool = true

canImportMediaSource()

カスタムフィールドのメディア型・ブロックエディター本文への ローカルファイルパスからのメディア自動取り込みを許可するか(CMS-7715)

public canImportMediaSource() : bool
Return values
bool

canUpdateByFieldKey()

カスタムフィールドキー(`*` プレフィックス付きラベル)による 既存エントリー/ユーザーの特定・更新を許可するか

public canUpdateByFieldKey() : bool
Return values
bool

        
On this page

Search results