Exemple #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAttributeType()
 {
     return $this->hasOne(AttributeTypes::className(), ['id' => 'attr_type_id']);
 }