public function getCloudIdentifier($userId) { $result = null; $response = $this->getClient()->call('getCloudIdentifier', array('userid' => $this->escape($userId))); if ($response->hasError() === false) { $resultObject = $response->getResult(); if (!empty($resultObject)) { $result = $this->_loadCloudIdentifierData($resultObject); } } return $result; }