public function treeModelName() { return Kiwi::getGroupClass(); }
public function getGroups() { $this->owner->hasMany(Kiwi::getGroupClass(), ['id' => 'tree_id'])->viaTable('{{%customer_tree}}', ['user_id' => 'customer_id']); }
public function treeModelName() { return Kiwi::getGroupClass(); }
public function getGroups() { $this->owner->hasMany(Kiwi::getGroupClass(), ['id' => 'tree_id'])->viaTable('{{%customer_tree}}', ['user_id' => 'customer_id']); }