コード例 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTranslation()
 {
     $property_model_translation = CsPropertyValuesTranslation::find()->where('lang_code="SR" and property_value_id=' . $this->id)->one();
     if ($property_model_translation) {
         return $property_model_translation;
     }
     return false;
 }