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 * * @return boolean true if all items exists, otherwise false */ public function exists() { $this_elements = $this->getArrayCopy(); foreach (func_get_args() as $result) { if (! in_array($result, $this_elements)) { return false; } } return true; } /** * returns HTML