Ejemplo n.º 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getTranslation()
 {
     $property_translation = \common\models\CsPropertiesTranslation::find()->where('lang_code="SR" and property_id=' . $this->id)->one();
     if ($property_translation) {
         return $property_translation;
     }
     return false;
 }