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