function swftools_profiles_get_profile in SWF Tools 6.3
Returns details of a specific profile.
Parameters
string $profile: The name of the profile requested.
bool $reset: (optional) When TRUE the profiles cache is flushed.
Return value
array Profile details, or an empty array if the profile does not exist.
3 calls to swftools_profiles_get_profile()
- swf in ./
swftools.module - Processes a file, or an array of files, and returns the relevant mark-up to render a Flash based player.
- swftools_profiles_profile_load in profiles/
swftools_profiles.module - Menu callback to check that a valid profile is being requested.
- theme_swftools_profiles in profiles/
swftools_profiles.module - Hands an element to the appropriate SWF Tools formatter for theming.
1 string reference to 'swftools_profiles_get_profile'
- swf in ./
swftools.module - Processes a file, or an array of files, and returns the relevant mark-up to render a Flash based player.
File
- profiles/
swftools_profiles.module, line 319 - Enables the SWF Tools profile system to allow multiple player configurations to be defined.
Code
function swftools_profiles_get_profile($profile, $reset = FALSE) {
$profiles = swftools_profiles_get_profiles($reset);
return isset($profiles[$profile]) ? $profiles[$profile] : array();
}