I have a little disturbing problem in here! an using symfony 1.4 with Doctrine! i fact i have a \"many to many\" relation (see code bellow) but i don\'t have the RIGHT result!
Consider the following data schema: Employee: columns: name: string(255) activeSince: date activeUntil: date
I\'m learning Symfony2 (and OOP) and want to create a service that\'s available throughout my app.This service takes a value foo, checks it against a database table, and returns a value bar.
I\'m using postgresql database. I have table开发者_StackOverflow社区 with column called \"from\" (I can\'t change it).
I have a custom class that populates a controller\'s action parameters based on the typehint of the parameter.This works well for documents (using public properties and setters).
I have the following query: $que开发者_如何学Pythonry = Doctrine_Query::create() ->from(\'Member m\')
I have a \"Post\" entity and I want users to vote for those posts. Votes by authenticated and anonymous users are being stored in separate DB tables, so there are two separate \"VoteAnonymous\" and \"
I use symfony 1.4.12 with doctrine. I have sfGuardUser table; I can count all records like this: 开发者_如何学编程 $count_user=Doctrine::getTable(\'sfGuardUser\')->count();
I hope you can help me with this problem because I really cannot see what is wrong here. I have 2 entities: RokZaPrijavuProjekta AND Predmet.
I\'m trying to create a optional OneToOne mapping in Doctrine. I have a table with all cities and zip codes available (this table shouldn\'t be changed), and I have a table with addresses and a mappe