public function getValue ($arrParams, $fetchMode = \PDO::FETCH_BOTH)
	{

		// If the params are not valid return FALSE

		if (!$this->validateParams ($arrParams))
		{
			return FALSE;
		}
		
		// Limit to 1 result

		$arrParams['limit']	= '1';

		// Query
		
		$query = $this->genQuery ($arrParams);
		
		// Execute

		$query->execute ();

		// Fetch the first set of results

		$arrResult	= $query->fetch ($fetchMode);
		
		// If there is only 1 column

		if (is_array ($arrResult) && count ($arrResult) === 1)
		{

			// Return the first column only
			
			return array_shift ($arrResult);

		}

		// else

		else
		{

			// Return result

			return $arrResult;

		}

	}