Hi all,
Here is my problem :
I tryied to display data with the getRepository()-findAll function in
SYmfony 2.
My entities are displayed, but the first occurence is missing.
For example I want to display movie's categories from my database which are
COMEDY, HORROR,and ROMANCE, but the
Sorry, I've founded the solution.
It came from the accents on my e characters. ( I'm french )
But if someone can told me how I can fix it, it would be nice ;)
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
Hi all,
I've a little bit difficult problem... I would want create a form, thanks to
a MyentityType.php , but who can render a JDialog modal form in it, to
add some embedded entities dynamically, like on this page
http://jqueryui.com/demos/dialog/#modal-formbut in a form.
I'm working on it
Thank you for your responses.
I use the annotation method of Doctrine 2 for my entities.
I've searched a little on the doctrine 2 documentation and the Single Table
Inheritance is perfect in my case ^^
Thank you yet ;)
--
If you want to report a vulnerability issue on symfony, please send it to
Hi all,
I would want to create 2 different classes GT and FT from a parent class
T.
I want GT and FT to have same attributes thant T, but FT and GT should have
two additionnal different attributes.
How can I do it ?
I've searched for doctrine inheritance but nothing about it for Symphony
Hi,
Here is my problem :*
*- I've generated entities classes and their methods with
doctrine:generate:entity and doctrine:generate:entities in my Symfony 2
application.
- I've generated the schema with doctrine:schema:create.
- I've made some modification, adding methods and associations
After a day of research, I think well sleeping during all the night can help
^^
I've founded where my problem came from :
*A metadata file for Doctrine which stayed in the
MyBundle/Resources/config/doctrine/orm/ folder. *
*I'**ve r**emoved it, and it works perfectly =D*
--
If you want to
In fact, it's wrong ^^
doctrine:generate:entities is also used for annotation method.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To
Hi Dennis.
First I've the same problem than yours for the Object class ... could not
be converted to string and I don't arrive to solve it ^^
Secondly, for the association beetween your host entity and your Systems
is done by Doctrine, in Symfony 2.
If you've generated your entities with
For the Object of class XxX could not be converted to string, I solved it
:
If you want to display your entities in a field, you've to implement
a method __toString() in your class, that returns a string, for example
the name of your host or your system.
--
If you want to report a
10 matches
Mail list logo