public function getOne()
	{
		$query = $this->prepareQuery(func_get_args());
		if ($res = $this->rawQuery($query))
		{
			$row = $this->fetch($res);
			if (is_array($row)) {
				return reset($row);
			}
			$this->free($res);
		}
		return FALSE;
	}
public function getOne()
	{
		$query = $this->prepareQuery(func_get_args());
		if ($res = $this->rawQuery($query))
		{
			$row = $this->fetch($res);
			if (is_array($row)) {
				return reset($row);
			}
			$this->free($res);
		}
		return FALSE;
	}
public function getOne ( ) { $ query = $ this -> prepareQuery ( func_get_args ( ) ) ; if ( $ res = $ this -> rawQuery ( $ query ) ) { $ row = $ this -> fetch ( $ res ) ; if ( is_array ( $ row ) ) { return reset ( $ row ) ; } $ this -> free ( $ res ) ; } return FALSE ; }
Helper function to get scalar value right out of query and optional arguments

Examples:
$name = $db->getOne("SELECT name FROM table WHERE id=1");
$name = $db->getOne("SELECT name FROM table WHERE id=?i", $id);

@param string $query - an SQL query with placeholders
@param mixed  $arg,... unlimited number of arguments to match placeholders in the query
@return string|FALSE either first column of the first row of resultset or FALSE if none found
Helper function to get scalar value right out of query and optional arguments