getEmpty(); } /** * defines what is an empty item (0, '', false or null) * * @uses PMA_List::$item_empty as return value * @return mixed an empty item */ public function getEmpty() { return $this->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 * * @uses PMA_List::$items to check for existence of specific item * @uses func_get_args() * @uses in_array() to check if given arguments exists in PMA_List::$items * @param string $db_name,.. one or more mysql result resources * @return boolean true if all items exists, otheriwse 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