Hi!

I am working with PHP and Google Calendar API and cannot seem to get full 
text query to accept a search as a variable

I want to make a search on my page: search.php?search=$search

to then show the results in the way I want - much like doing it with this 
URL does:
https://www.google.com/calendar/feeds/[email protected]/private-CODE/full?q=search

This code below means I cannot do this?
function outputCalendarByFullTextQuery($client, $startDate, $endDate, 
$fullTextQuery='search')
{ 
 $query->setQuery($fullTextQuery);
}

Ideally I would like to be able to have:
function outputCalendarByFullTextQuery($client, $startDate, $endDate, 
$fullTextQuery=$search)
{ 
  $gdataCal = new Zend_Gdata_Calendar($client);
  $query = $gdataCal->newEventQuery();
  $query->setUser('[email protected]');
  $query->setVisibility('private-CODE');
  $query->setProjection('full');
  $query->setOrderby('starttime');
  $query->setSortOrder('a');
  $query->setMaxResults('5');
  $query->setQuery($fullTextQuery);
  $query->setStartMin($currenttime);
  $query->setStartMax($tomorrow);
  $query->setQuery($fullTextQuery);
  $eventFeed = $gdataCal->getCalendarEventFeed($query);
}

can someone please point me in the right direction of how to do this?

thanks :)

-- 
You received this message because you are subscribed to the Google
Groups "Google Calendar Data 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://code.google.com/apis/calendar/community/forum.html

Reply via email to