gmail - zend setquery returns the same results for 2 different queries -
im using next code retrieve events google calendar.
$client = zend_gdata_clientlogin::gethttpclient($user, $pass, $gcal); $gcal = new zend_gdata_calendar($client); $query = $gcal->neweventquery(); $query->setuser('default'); $query->setvisibility('private'); $query->setprojection('basic'); $query->setstartmin($date); $query->setstartmax($newdate); $query->setquery(''.$key->name.'@email.com');
when $key->name
gives 2 different strings.for illustration george.s
, george.r
... query returns same info
.it happens query.others working fine.and there no events assigned george.s
.same info showed in george.r shows in george.s's info.
im using code retrieve events has particular person assigned it.so thats why im taking email query.
please tell me doing wrong here?
zend-framework gmail google-api google-calendar gdata
No comments:
Post a Comment