lib/Janrain/Api/Capture/Clients.php
public function setFeatures($clientId, array $features)
	{
		$params = array(
			'for_client_id' => $clientId,
			'features'      => json_encode($features),
		);

		// If empty, features are set for the owner client.
		if (!$params['for_client_id']) {
			unset($params['for_client_id']);
		}

		return $this->post('clients/set_features', $params);
	}
public function setFeatures($clientId, array $features)
	{
		$params = array(
			'for_client_id' => $clientId,
			'features'      => json_encode($features),
		);

		// If empty, features are set for the owner client.
		if (!$params['for_client_id']) {
			unset($params['for_client_id']);
		}

		return $this->post('clients/set_features', $params);
	}
public function setFeatures ( $ clientId , array $ features ) { $ params = array ( 'for_client_id' => $ clientId , 'features' => json_encode ( $ features ) , ) ; // If empty, features are set for the owner client. if ( ! $ params [ 'for_client_id' ] ) { unset ( $ params [ 'for_client_id' ] ) ; } return $ this -> post ( 'clients/set_features' , $ params ) ; }
Change the features that a target client has by overwriting the old feature
list. This API call may only be made by the 'owner' client. The owner client
may not remove the 'owner' feature from itself.

@param string $clientId The client id for which to set features
@param array  $features Array of feature names to assign to the client
Change the features that a target client has by overwriting the old feature list . This API call may only be made by the owner client . The owner client may not remove the owner feature from itself .