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