Example #1
0
 public function getTags()
 {
     return $this->owner->hasMany(Kiwi::getTagClass(), ['id' => 'tree_id'])->via('itemTags');
 }
Example #2
0
 public function treeModelName()
 {
     return Kiwi::getTagClass();
 }