Hi there,

I'd like to do the following:

foreach (SearchPeer::retrieveByPk($searchId)->getSearchCriterions() as 
$criterion)
{
   $c->add(self::LISTING_PRICE, $criterion->getValue(), 
Criteria::$criterion->getSearchOperator);
}

This of course gives me the error: Fatal error: Access to undeclared 
static property: Criteria::$criterion in ...

But is there any way to get around it?

TIA

Tom
-- 
Tom Haskins-Vaughan
Temple Street Media: Design and Development for the Web
[EMAIL PROTECTED] | www.templestreetmedia.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to