On Fri, 5 Jun 2009, DEEPAK BHATIA wrote:

> I am trying to do the following
> 
> $temp = new sfPropelData();
> echo $temp->getFiles();
> 
> But I get the following error
> 
> Fatal error: Call to protected method sfData::getFiles() from context
> 'testActions' in
> /opt/lampp/htdocs/testproj/apps/tool/modules/test/actions/actions.class.php
> on line 47

You can't call a protected method in a class except from a parent or 
inherited class.

http://us2.php.net/protected

Not sure why you're not using Propel/Doctrine methods; maybe if you 
explained what you are trying to do we might be able to help.



-- 



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to