public function getNotifications($user, $read = null, $limit = 0, $offset = 0, $until = null, $since = null)
	{
		if ($read == true)
		{
			$read = '?include_read=1';
		}

		// Send the request.
		return $this->getConnection($user, 'notifications', $read, $limit, $offset, $until, $since);
	}
public function getNotifications($user, $read = null, $limit = 0, $offset = 0, $until = null, $since = null)
	{
		if ($read == true)
		{
			$read = '?include_read=1';
		}

		// Send the request.
		return $this->getConnection($user, 'notifications', $read, $limit, $offset, $until, $since);
	}
public function getNotifications ( $ user , $ read = null , $ limit = 0 , $ offset = 0 , $ until = null , $ since = null ) { if ( $ read == true ) { $ read = '?include_read=1' ; } // Send the request. return $ this -> getConnection ( $ user , 'notifications' , $ read , $ limit , $ offset , $ until , $ since ) ; }
Method to get the user's notifications. Requires authentication and manage_notifications permission.

@param   mixed    $user    Either an integer containing the user ID or a string containing the username.
@param   boolean  $read    Enables you to see notifications that the user has already read.
@param   integer  $limit   The number of objects per page.
@param   integer  $offset  The object's number on the page.
@param   string   $until   A unix timestamp or any date accepted by strtotime.
@param   string   $since   A unix timestamp or any date accepted by strtotime.

@return  mixed   The decoded JSON response or false if the client is not authenticated.

@since   1.0
Method to get the user s notifications . Requires authentication and manage_notifications permission .