You are here

public function EntityShareClient::__construct in Entity Share 7

Initialize properties.

Parameters

string $endpoint_url: Url of the server endpoint.

bool $debug: Debug mode.

File

includes/entity_share.client.inc, line 62
Class for handling communication with Entity Share Server.

Class

EntityShareClient
Entity Share Client class.

Code

public function __construct($endpoint_url, $debug = FALSE) {
  $this->endpointUrl = $endpoint_url;
  self::$debug = $debug;
}