public function getInviteEmails($gid, $email_only = false)
	{
		$final = array();

		$invitees = self::all()
			->whereEquals('gidNumber', $gid)
			->ordered()
			->rows();

		if ($email_only)
		{
			foreach ($invitees as $invitee)
			{
				$final[] = $invitee->get('email');
			}
		}
		else
		{
			$final = $invitees;
		}

		return $final;
	}