public function company($options, $by_email = FALSE) {
	  // check passed data
	  if(!is_string($options)) {
	    // bad data passed
		  throw new LinkedInException('LinkedIn->company(): bad data passed, $options must be of type string.');
	  }
	  if(!is_bool($by_email)) {
	    // bad data passed
		  throw new LinkedInException('LinkedIn->company(): bad data passed, $by_email must be of type boolean.');
	  }
	  
	  // construct and send the request
	  $query    = self::_URL_API . '/v1/companies' . ($by_email ? '' : '/') . 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 company($options, $by_email = FALSE) {
	  // check passed data
	  if(!is_string($options)) {
	    // bad data passed
		  throw new LinkedInException('LinkedIn->company(): bad data passed, $options must be of type string.');
	  }
	  if(!is_bool($by_email)) {
	    // bad data passed
		  throw new LinkedInException('LinkedIn->company(): bad data passed, $by_email must be of type boolean.');
	  }
	  
	  // construct and send the request
	  $query    = self::_URL_API . '/v1/companies' . ($by_email ? '' : '/') . 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 company ( $ options , $ by_email = FALSE ) { // check passed data if ( ! is_string ( $ options ) ) { // bad data passed throw new LinkedInException ( 'LinkedIn->company(): bad data passed, $options must be of type string.' ) ; } if ( ! is_bool ( $ by_email ) ) { // bad data passed throw new LinkedInException ( 'LinkedIn->company(): bad data passed, $by_email must be of type boolean.' ) ; } // construct and send the request $ query = self :: _URL_API . '/v1/companies' . ( $ by_email ? '' : '/' ) . 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 ) ; }
Company profile retrieval function.

Takes a string of parameters as input and requests company profile data
from the LinkedIn Company Profile API. See the official documentation for
$options 'field selector' formatting:

http://developer.linkedin.com/docs/DOC-1014
http://developer.linkedin.com/docs/DOC-1259

@param str $options
Data retrieval options.
@param	bool $by_email
[OPTIONAL] Search by email domain?

@return arr
Array containing retrieval success, LinkedIn response.
Company profile retrieval function .