예제 #1
0
 public function getItemTags()
 {
     return $this->owner->hasMany(Kiwi::getItemTagClass(), ['item_id' => 'item_id']);
 }
예제 #2
0
파일: Tag.php 프로젝트: yinheark/yincart2
 public function getItemTags()
 {
     return $this->hasMany(Kiwi::getItemTagClass(), ['tree_id' => 'id']);
 }