You are here

function image_ncck_picasa_image_title in Embedded Media Field 5

implement image_ncck_PROVIDER_image_title

Parameters

$code: the code of the image @param $data any stored data for the image, which may already have the title @return the title as the 3rd party provider knows it, if accessible to us. otherwise, ''

File

contrib/image_ncck/providers/picasa.inc, line 143

Code

function image_ncck_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}";
}