public function groupPosts($gid, $options = '') {
		if(!is_string($gid)){
			throw new LinkedInException('LinkedIn->groupPosts(): bad data passed, $gid must be of type string');
		}
		if(!is_string($options)){
			throw new LinkedInException('LinkedIn->groupPosts(): bad data passed, $options must be of type string');
		}
		
		// construct and send the request
		$query    = self::_URL_API . '/v1/groups/' . trim($gid)  .'/posts' . trim($options);
		$response = $this->fetch('GET', $query);
		
		/**
	   * Check for successful request (a 200 response from LinkedIn server) 
	   * per the documentation linked in method comments above.
	   */
		return $this->checkResponse(200, $response);
	}
public function groupPosts($gid, $options = '') {
		if(!is_string($gid)){
			throw new LinkedInException('LinkedIn->groupPosts(): bad data passed, $gid must be of type string');
		}
		if(!is_string($options)){
			throw new LinkedInException('LinkedIn->groupPosts(): bad data passed, $options must be of type string');
		}
		
		// construct and send the request
		$query    = self::_URL_API . '/v1/groups/' . trim($gid)  .'/posts' . trim($options);
		$response = $this->fetch('GET', $query);
		
		/**
	   * Check for successful request (a 200 response from LinkedIn server) 
	   * per the documentation linked in method comments above.
	   */
		return $this->checkResponse(200, $response);
	}
public function groupPosts ( $ gid , $ options = '' ) { if ( ! is_string ( $ gid ) ) { throw new LinkedInException ( 'LinkedIn->groupPosts(): bad data passed, $gid must be of type string' ) ; } if ( ! is_string ( $ options ) ) { throw new LinkedInException ( 'LinkedIn->groupPosts(): bad data passed, $options must be of type string' ) ; } // construct and send the request $ query = self :: _URL_API . '/v1/groups/' . trim ( $ gid ) . '/posts' . trim ( $ options ) ; $ response = $ this -> fetch ( 'GET' , $ query ) ; /**
	   * Check for successful request (a 200 response from LinkedIn server) 
	   * per the documentation linked in method comments above.
	   */ return $ this -> checkResponse ( 200 , $ response ) ; }
This returns all the posts within a group.

http://developer.linkedin.com/documents/groups-api

@param str $gid
The group id.

@return arr
Array containing retrieval success, LinkedIn response.
This returns all the posts within a group .