示例#1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProperties()
 {
     return $this->hasMany(Properties::className(), ['updated_by' => 'id']);
 }
示例#2
0
 public function getProperty()
 {
     return $this->hasOne(Properties::className(), ['id' => 'property_id']);
 }
示例#3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getProperties()
 {
     return $this->hasMany(Properties::className(), ['object' => 'id']);
 }