Hello,
I'm still testing Symfony for a new project. I really like it, but
there are some points I dislike, when I try to use the power( code
completion ) of php IDE's.
So I try to explain. I take some code from the Jobeet Tutorial.
Here I get a job:
$job =
Doctrine::getTable('JobeetJob')->find(array($request->getParameter('id')));
When I now try get the methods and properties of this job:
$job-> ( here press ctrl+space ) I get nothing :-(
With this point I can help me with "@var"
$job =
Doctrine::getTable('JobeetJob')->find(array($request->getParameter('id')));
/* @var $job JobeetJob */
So, with this line I get all methods and properties of the job...
But... Not all :-(
I don't get the fields of the job object :-( It would be nice to have
the fields of the objects as public properties or as getter and setter
methods.
I know there getter and setter methods, but they are implemented using
magic functions. So I can't use them in my IDE.
We have more them 70 DB Tables, so we would have more then 70 Objects
in our Application. And I don't want to take a look at the DB to know
the fields of the tables.
So, is there a way to generate this getter and setter methods?
Thanks for your help,
Stefan Sturm
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---