Hi,
It seems like the base model object __call method is actually
preventing me from calling methods defined in the subclass.
I have a model object called ReservProvider. In it, I have the
following code:
foreach($reservProvs as $reservProv)
{
if($reservProv->hasTimeConfict($this))
{
$reservProv->delete();
}
}
This code calls "hasTimeConflict" on a second reservProvider object.
However, this is failing due to the __call method in the
BaseReservProvider object:
if (!$callable = sfMixer::getCallable('BaseReservProvider:'.
$method))
{
throw new sfException(sprintf('Call to undefined method
BaseReservProvider::%s', $method));
}
I believe this code may have worked at an earlier version (1.2.5?),
but I recently upgraded to 1.2.7. Does anyone know why this might be
happening, and how I should go about enabling calls to user functions?
Regards
Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---