Esempio n. 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCuenta()
 {
     return $this->hasOne(Cuentas::className(), ['cuentasid' => 'cuenta_id']);
 }
Esempio n. 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCuentas()
 {
     return $this->hasMany(Cuentas::className(), ['estado_id' => 'estadoid']);
 }
Esempio n. 3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCuentas()
 {
     return $this->hasMany(Cuentas::className(), ['user_id' => 'tipocuentaid']);
 }
Esempio n. 4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCuentas()
 {
     return $this->hasMany(Cuentas::className(), ['sector_id' => 'sectorid']);
 }