function emimage_picasa_image_title in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emimage/providers/picasa.inc \emimage_picasa_image_title()
Implement emimage_PROVIDER_image_title.
Parameters
$code: The code of the image.
$data: Any stored data for the image, which may already have the title.
Return value
The title as the 3rd party provider knows it, if accessible to us. otherwise, ''.
File
- contrib/
emimage/ providers/ picasa.inc, line 171 - This include processes picasa.com image files for use by emfield.module.
Code
function emimage_picasa_image_title($code, $data) {
if (func_num_args() == 7) {
$arg = func_get_arg(5);
$code =& $arg['data']['title'];
$data =& $arg['data'];
$title = $code;
}
return "{$title}";
}