diff --git a/soapclient/SforceBaseClient.php b/soapclient/SforceBaseClient.php index 5ea90de..309162d 100644 --- a/soapclient/SforceBaseClient.php +++ b/soapclient/SforceBaseClient.php @@ -1114,6 +1114,9 @@ public function __construct($response=NULL) { } } } + + function __get($name) { return (isset($this->fields->$name))? $this->fields->$name : false; } + function __isset($name) { return isset($this->fields->$name); } /** * Parse the "any" string from an sObject. First strip out the sf: and then