/** * Get the description of the Item. * @return <<b>string</b>>a set of word, not a text */ public function description() { return without_accent($this->_description() . " " . $this->getTitle()); }
#hall if (!empty($_POST['guild_hall'])) { $guild_hall = $_POST['guild_hall']; } #boost $boost_armilo = false; $boost_rubbarn = false; if (!empty($_POST['boost']) && $_POST['boost'] == 'boost_armilo') { $boost_armilo = true; } if (!empty($_POST['boost']) && $_POST['boost'] == 'boost_rubbarn') { $boost_rubbarn = true; } # text search if (!empty($_POST['text_search'])) { $text_search = explode(' ', without_accent(trim($_POST['text_search']))); } $items_filtered_and_unserialize = array(); if (isset($guild_hall) && isset($items) && is_array($items)) { foreach ($items as $val) { $item = unserialize($val['str_object']); $display = true; if (preg_match($pattern, $item->barCode(), $matches) != 1) { $display = false; } if ($room != 'other') { if ((int) $item->q < (int) $min_quality || (int) $item->q > (int) $max_quality) { $display = false; } if ($display == true && !in_array($item->guild->id, $guild_hall)) { $display = false;