コード例 #1
0
ファイル: CsProcesses.php プロジェクト: bokko79/servicemapp
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTranslation()
 {
     $process_translation = CsProcessesTranslation::find()->where('lang_code="SR" and process_id=' . $this->id)->one();
     if ($process_translation) {
         return $process_translation;
     }
     return false;
 }