item()) { return; } // Create an array of all the tags for the current item. $tagsItem = ORM::factory("tag") ->join("items_tags", "tags.id", "items_tags.tag_id") ->where("items_tags.item_id", $theme->item->id) ->find_all(); $metaView = new View("metadescription_block.html"); $metaView->tags = $tagsItem; return $metaView; } }