protected static function get_connection($writeable = false)
	{
		if ($writeable and isset(static::$_write_connection))
		{
			return static::$_write_connection;
		}

		return isset(static::$_connection) ? static::$_connection : null;
	}