function clients_credentials_storage_variable::variableName in Web Service Clients 7.3
Helper to get the variable name.
Parameters
$connection: The connection to use.
3 calls to clients_credentials_storage_variable::variableName()
- clients_credentials_storage_variable::credentialsDelete in plugins/
clients_credentials_storage/ variables.inc - Erase credentials.
- clients_credentials_storage_variable::credentialsLoad in plugins/
clients_credentials_storage/ variables.inc - Load credentials, if any exist, into the connection.
- clients_credentials_storage_variable::credentialsSave in plugins/
clients_credentials_storage/ variables.inc - Save credentials.
File
- plugins/
clients_credentials_storage/ variables.inc, line 31
Class
- clients_credentials_storage_variable
- Plugin handler class.
Code
function variableName($connection) {
// TODO: This can cause problems if the connection name is too long:
// character limit for a system variable name is 128, but so is that for
// a connection name!
return 'clients_connection_credentials_' . $connection->name;
}