item; $existingFaces = ORM::factory("items_face") ->where("item_id", $item->id) ->find_all(); // If it does, add an image map to the page to display them. if (count($existingFaces) > 0) { return new View("drawfaces_highlight_block.html"); } } }