public function updates($options = NULL, $id = NULL) {
	  // check passed data
    if(!is_null($options) && !is_string($options)) {
	    // bad data passed
		  throw new LinkedInException('LinkedIn->updates(): bad data passed, $options must be of type string.');
	  }
	  if(!is_null($id) && !is_string($id)) {
	    // bad data passed
		  throw new LinkedInException('LinkedIn->updates(): bad data passed, $id must be of type string.');
	  }
	  
	  // construct and send the request
	  if(!is_null($id) && self::isId($id)) {
	    $query = self::_URL_API . '/v1/people/' . $id . '/network/updates' . trim($options);
	  } else {
      $query = self::_URL_API . '/v1/people/~/network/updates' . 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 updates($options = NULL, $id = NULL) {
	  // check passed data
    if(!is_null($options) && !is_string($options)) {
	    // bad data passed
		  throw new LinkedInException('LinkedIn->updates(): bad data passed, $options must be of type string.');
	  }
	  if(!is_null($id) && !is_string($id)) {
	    // bad data passed
		  throw new LinkedInException('LinkedIn->updates(): bad data passed, $id must be of type string.');
	  }
	  
	  // construct and send the request
	  if(!is_null($id) && self::isId($id)) {
	    $query = self::_URL_API . '/v1/people/' . $id . '/network/updates' . trim($options);
	  } else {
      $query = self::_URL_API . '/v1/people/~/network/updates' . 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 updates ( $ options = NULL , $ id = NULL ) { // check passed data if ( ! is_null ( $ options ) && ! is_string ( $ options ) ) { // bad data passed throw new LinkedInException ( 'LinkedIn->updates(): bad data passed, $options must be of type string.' ) ; } if ( ! is_null ( $ id ) && ! is_string ( $ id ) ) { // bad data passed throw new LinkedInException ( 'LinkedIn->updates(): bad data passed, $id must be of type string.' ) ; } // construct and send the request if ( ! is_null ( $ id ) && self :: isId ( $ id ) ) { $ query = self :: _URL_API . '/v1/people/' . $ id . '/network/updates' . trim ( $ options ) ; } else { $ query = self :: _URL_API . '/v1/people/~/network/updates' . 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 ) ; }
General network update retrieval function.

Takes a string of parameters as input and requests update-related data
from the Linkedin Network Updates API. See the official documentation for
$options parameter formatting:

http://developer.linkedin.com/docs/DOC-1006

For getting more comments, likes, etc, see here:

http://developer.linkedin.com/docs/DOC-1043

@param str $options
[OPTIONAL] Data retrieval options.
@param str $id
[OPTIONAL] The LinkedIn ID to restrict the updates for.

@return arr
Array containing retrieval success, LinkedIn response.
General network update retrieval function .