i tried something like this:
if(is_array($_POST["phone"])){
$ext = new Zend_Gdata_App_Extension_Element
("phoneNumber",null,"http://schemas.google.com/g/2005",strtolower
($_POST["phone"][0]));
$attributes = array();
$attributes["rel"] = array
("namespaceUri"=>"","name"=>"rel","value"=>"http://schemas.google.com/
g/2005#mobile");
$ext->setExtensionAttributes($attributes);
$extensions[] = $ext;
break;
}
}
}
$entry->setExtensionElements($extensions);
$gdata->updateEntry($entry, $entry->getEditLink
()->href);
thanks in advanced
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Contacts API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---