item_empty; } /** * checks if the given db names exists in the current list, if there is * missing at least one item it returns false otherwise true * * @param mixed[] ...$params params * @return bool true if all items exists, otherwise false */ public function exists(...$params) { $this_elements = $this->getArrayCopy(); foreach ($params as $result) { if (! in_array($result, $this_elements)) { return false; } } return true; } /** * returns HTML