public function editJob($jid, $xml) {
	  // check passed data
	  if(!is_string($jid)) {
	    // bad data passed
		  throw new LinkedInException('LinkedIn->editJob(): bad data passed, $jid must be of string value.');
	  }
	  if(is_string($xml)) {
	    $xml = trim(stripslashes($xml));
	  } else {
	    // bad data passed
		  throw new LinkedInException('LinkedIn->editJob(): bad data passed, $xml must be of string value.');
	  }
               
	  // construct and send the request
	  $query    = self::_URL_API . '/v1/jobs/partner-job-id=' . trim($jid);
	  $response = $this->fetch('PUT', $query, $xml);
	  
	  /**
	   * 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 editJob($jid, $xml) {
	  // check passed data
	  if(!is_string($jid)) {
	    // bad data passed
		  throw new LinkedInException('LinkedIn->editJob(): bad data passed, $jid must be of string value.');
	  }
	  if(is_string($xml)) {
	    $xml = trim(stripslashes($xml));
	  } else {
	    // bad data passed
		  throw new LinkedInException('LinkedIn->editJob(): bad data passed, $xml must be of string value.');
	  }
               
	  // construct and send the request
	  $query    = self::_URL_API . '/v1/jobs/partner-job-id=' . trim($jid);
	  $response = $this->fetch('PUT', $query, $xml);
	  
	  /**
	   * 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 editJob ( $ jid , $ xml ) { // check passed data if ( ! is_string ( $ jid ) ) { // bad data passed throw new LinkedInException ( 'LinkedIn->editJob(): bad data passed, $jid must be of string value.' ) ; } if ( is_string ( $ xml ) ) { $ xml = trim ( stripslashes ( $ xml ) ) ; } else { // bad data passed throw new LinkedInException ( 'LinkedIn->editJob(): bad data passed, $xml must be of string value.' ) ; } // construct and send the request $ query = self :: _URL_API . '/v1/jobs/partner-job-id=' . trim ( $ jid ) ; $ response = $ this -> fetch ( 'PUT' , $ query , $ xml ) ; /**
	   * Check for successful request (a 200 response from LinkedIn server) 
	   * per the documentation linked in method comments above.
	   */ return $ this -> checkResponse ( 200 , $ response ) ; }
Edit a job.

Calling this method causes the passed job to be edited, with the passed
XML instructing which fields to change, per:

http://developer.linkedin.com/docs/DOC-1154
http://developer.linkedin.com/docs/DOC-1142

@param str $jid
Job ID you want to renew.
@param str $xml
The XML containing the job fields to edit.

@return arr
Array containing retrieval success, LinkedIn response.
Edit a job .