lib/Janrain/Api/Capture/Settings.php
public function getSingle($key, $forClientId = null)
	{
		$params = array('key' => $key);

		if ($forClientId) {
			$params['for_client_id'] = $forClientId;
		}

		return $this->post('settings/get', $params);
	}
public function getSingle($key, $forClientId = null)
	{
		$params = array('key' => $key);

		if ($forClientId) {
			$params['for_client_id'] = $forClientId;
		}

		return $this->post('settings/get', $params);
	}
public function getSingle ( $ key , $ forClientId = null ) { $ params = array ( 'key' => $ key ) ; if ( $ forClientId ) { $ params [ 'for_client_id' ] = $ forClientId ; } return $ this -> post ( 'settings/get' , $ params ) ; }
Get the value associated with a key for a particular `client_id`. If the key
has not value for that client, then return the key's default value for the
application, or if they key has not default value, then return null.

@param string $key The key whose value you want to retrieve. To find out the
values available, use the 'settings/keys' API call first

@param string $forClientId The client identifier. If you do not enter a value
for this parameter, it defaults to the value of
the `client_id`, that is, you are getting the
value for a key in your own record.
Get the value associated with a key for a particular client_id . If the key has not value for that client then return the key s default value for the application or if they key has not default value then return null .