DatatableOrgRelationControlTrait

[ データテーブルの組織データ(紐づけ)を操作するトレイト ]

package

Default

Methods

追加処理(特に処理する必用がない場合はreturn trueのみ)

extraProcess(\Phalcon\Mvc\Model\Transaction $transaction, string $domain_cd, string $target_cd, string $parent_cd, string $nowDate) : boolean

※特に処理なし

Arguments

$transaction

\Phalcon\Mvc\Model\Transaction

トランザクション

$domain_cd

string

ドメインコード

$target_cd

string

子コード

$parent_cd

string

親コード

$nowDate

string

現在日付

Response

boolean

子コードのフィールド名を取得する

getChildCodeFieldName() : string

Response

string

子コードのフィールド名

分類コードのフィールド名を取得する

getClassCodeFieldName() : string

Response

string

分類コードのフィールド名

組織分類マスタのモデルのインスタンスを取得する

getClassModel() : \SCC\Api\Model\MCoreOrganizationClass

Response

\SCC\Api\Model\MCoreOrganizationClass

組織分類マスタモデル

階層差のフィールド名を取得する

getLevelFieldName() : string

Response

string

階層差のフィールド名

組織マスタモデルのインスタンスを取得する

getMainModel() : \SCC\Api\Model\MCoreOrganization

Response

\SCC\Api\Model\MCoreOrganization

組織マスタモデル

組織マスタのユニークコードのフィールド名を取得する

getMainModelCodeFieldName() : string

Response

string

メインModelのユニークコードのフィールド名

親コードのフィールド名を取得する

getParentCodeFieldName() : string

Response

string

親コードのフィールド名

組織紐づけテーブルのモデルのインスタンスを取得する

getRelationControlModel() : \SCC\Api\Model\MCoreOrganizationRelation

Response

\SCC\Api\Model\MCoreOrganizationRelation

組織紐づけマスタモデル