function media_soundcloud_variable_set in Media: SoundCloud 7
Wrapper for variable_set() using the Media: SoundCloud variable registry.
Parameters
string $name: The variable name to set. Note that it will be namespaced by pre-pending MEDIA_SOUNDCLOUD_NAMESPACE, as to avoid variable collisions with other modules.
unknown $value: The value for which to set the variable.
Return value
unknown Returns the stored variable after setting.
See also
media_soundcloud_variable_get()
media_soundcloud_variable_del()
media_soundcloud_variable_default()
File
- includes/
media_soundcloud.variables.inc, line 63 - media_soundcloud/includes/media_soundcloud.variables.inc Variable defaults for Media: SoundCloud.
Code
function media_soundcloud_variable_set($name, $value) {
$variable_name = MEDIA_SOUNDCLOUD_NAMESPACE . $name;
return variable_set($variable_name, $value);
}