UpdateByFieldKey
Table of Contents
Properties
- $csvId : int|null
- $data : array<string|int, mixed>
- $isUpdate : bool
- $labels : array<string|int, mixed>
Methods
- updateKey() : bool
- カスタムフィールドキーによる更新対象の特定(プロフェッショナルライセンス以上)
- applyFoundId() : void
- カスタムフィールドキーで特定したIDを適用する
- getFieldIdColumn() : string
- フィールドIDカラム名を返す
- shouldSkipUpdateKeyLabel() : bool
- updateKeyの検索対象から除外するラベルか判定する
Properties
$csvId
public
int|null
$csvId
$data
public
array<string|int, mixed>
$data
$isUpdate
public
bool
$isUpdate
$labels
public
array<string|int, mixed>
$labels
Methods
updateKey()
カスタムフィールドキーによる更新対象の特定(プロフェッショナルライセンス以上)
public
updateKey() : bool
Tags
Return values
boolapplyFoundId()
カスタムフィールドキーで特定したIDを適用する
protected
applyFoundId(int $id) : void
Parameters
- $id : int
getFieldIdColumn()
フィールドIDカラム名を返す
protected
getFieldIdColumn() : string
Return values
stringshouldSkipUpdateKeyLabel()
updateKeyの検索対象から除外するラベルか判定する
protected
shouldSkipUpdateKeyLabel(string $key) : bool
Parameters
- $key : string