示例#1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getState0()
 {
     return $this->hasOne(State::className(), ['name' => 'state']);
 }
示例#2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStates()
 {
     return $this->hasMany(State::className(), ['state_country_id' => 'country_id']);
 }
示例#3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getStates()
 {
     return $this->hasMany(State::className(), ['updated_by' => 'user_id']);
 }
示例#4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getState()
 {
     return $this->hasOne(State::className(), ['id' => 'state_id']);
 }
示例#5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCityState()
 {
     return $this->hasOne(State::className(), ['state_id' => 'city_state_id']);
 }
示例#6
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEmpPaddState()
 {
     return $this->hasOne(State::className(), ['state_id' => 'emp_padd_state']);
 }