示例#1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getContactos()
 {
     return $this->hasOne(Contactos::className(), ['contactosid' => 'contactos_id']);
 }
示例#2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getContactos()
 {
     return $this->hasMany(Contactos::className(), ['cuenta_id' => 'cuentasid']);
 }