/** * @return \yii\db\ActiveQuery */ public function getGroup() { return $this->hasOne(Groups::className(), ['id' => 'group_id']); }
public function actionGetSelectionById() { self::selectionById(Groups::className(), 'name'); }
public function getGroups() { return $this->hasMany(Groups::className(), ['id' => 'group_id'])->via('beaconBindings'); }
/** * @return \yii\db\ActiveQuery */ public function getGroupname0() { return $this->hasOne(Groups::className(), ['groupname' => 'groupname', 'l_user' => 'l_user']); }