Rule
in package
このクラスは、バージョンアップ時に「特別な更新処理」を行うためのクラスです。
注意点:
- アップデート処理の実行時には、新しいバージョンで追加されたクラスやメソッドは、まだ読み込まれていないため利用できません。
- そのため、このクラスでは 「オンラインアップデート機能」が追加された v2.8.0 から利用できる機能でのみ実装してください。
例 DB::next() は利用できません。v3.2.0 で追加されたため。
Table of Contents
Properties
- $fromVersion : string
- $toVersion : string
Methods
- update() : mixed
- 例外的なアップデートを実行
- addGroupConfig() : mixed
- フィールドグループのコンフィグを追加
- addNavigationPublish() : mixed
- navigation_publish = on を追加
- filterArray() : array<string|int, mixed>
- 配列を再帰的にフィルタリング
- update140() : mixed
- v1.4.0以前からのアップデート コンフィグ画面用のconfigフィールドグループを追加
- update142() : mixed
- v1.4.2以前からのアップデート Api_Yahoo_* の名前変更対応
- update150() : mixed
- v1.5.0以前からのアップデート navigation_publish = on を追加
- update2100() : mixed
- v2.10.0以前からのアップデート workflowを
- update3150() : void
- v3.1.50以前からのアップデート フィールドにタイプのカラムを追加 メディアフィールドの検索用インデックスのため
- update320() : void
- v3.2.0以前からのアップデート - カスタムユニットのフィールドデータをcolumnテーブルからフィールドテーブルに移動 - column_align カラムに存在する非表示を acms_column, acms_column_rev テーブルの column_status カラムのデータとして扱えるようにアップデート時にデータコンバートを行う
- update321() : void
- v3.1.55以前からのアップデート
- updateCustomUnitData() : void
- v3.2.0以前からのアップデート カスタムユニットのフィールドデータをcolumnテーブルからフィールドテーブルに移動
- updateUnitAlignToStatus() : void
- v3.2.0以前からのアップデート column_align カラムに存在する非表示を acms_column, acms_column_rev テーブルの column_status カラムのデータとして扱えるようにアップデート時にデータコンバートを行う 配置は center に変更する
Properties
$fromVersion
protected
string
$fromVersion
$toVersion
protected
string
$toVersion
Methods
update()
例外的なアップデートを実行
public
update(string $fromVersion, string $toVersion) : mixed
Parameters
- $fromVersion : string
- $toVersion : string
addGroupConfig()
フィールドグループのコンフィグを追加
protected
addGroupConfig(string $group, array<string|int, mixed> $vals, null|int $bid[, null|int $rid = null ][, null|int $mid = null ]) : mixed
Parameters
- $group : string
- $vals : array<string|int, mixed>
- $bid : null|int
- $rid : null|int = null
- $mid : null|int = null
addNavigationPublish()
navigation_publish = on を追加
protected
addNavigationPublish(int $bid[, null|int $rid = null ][, null|int $mid = null ]) : mixed
Parameters
- $bid : int
- $rid : null|int = null
- $mid : null|int = null
filterArray()
配列を再帰的にフィルタリング
private
filterArray(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
- $data : array<string|int, mixed>
Return values
array<string|int, mixed>update140()
v1.4.0以前からのアップデート コンフィグ画面用のconfigフィールドグループを追加
private
update140() : mixed
update142()
v1.4.2以前からのアップデート Api_Yahoo_* の名前変更対応
private
update142() : mixed
update150()
v1.5.0以前からのアップデート navigation_publish = on を追加
private
update150() : mixed
update2100()
v2.10.0以前からのアップデート workflowを
private
update2100() : mixed
update3150()
v3.1.50以前からのアップデート フィールドにタイプのカラムを追加 メディアフィールドの検索用インデックスのため
private
update3150() : void
update320()
v3.2.0以前からのアップデート - カスタムユニットのフィールドデータをcolumnテーブルからフィールドテーブルに移動 - column_align カラムに存在する非表示を acms_column, acms_column_rev テーブルの column_status カラムのデータとして扱えるようにアップデート時にデータコンバートを行う
private
update320() : void
update321()
v3.1.55以前からのアップデート
private
update321() : void
監査ログの秘匿化項目をマスク化
updateCustomUnitData()
v3.2.0以前からのアップデート カスタムユニットのフィールドデータをcolumnテーブルからフィールドテーブルに移動
private
updateCustomUnitData() : void
updateUnitAlignToStatus()
v3.2.0以前からのアップデート column_align カラムに存在する非表示を acms_column, acms_column_rev テーブルの column_status カラムのデータとして扱えるようにアップデート時にデータコンバートを行う 配置は center に変更する
private
updateUnitAlignToStatus() : void