symfony
Symfony 2 Form, field collection doesn't display
I would like to create a form which can add multiple etape. I create the form like this: //FORM namespace RBO\\TryBundle\\Form\\Type;[详细]
2023-04-10 10:29 分类:问答How do I create an image filter in Symfony2 AvalancheImagineBundle?
I\'m using Symfony 2 and I just installed the AvalancheImagineBundle successfully. I created my own thumbnail filter as described in the README, and I created a 2nd filter called \"profile\" which (fo[详细]
2023-04-10 05:27 分类:问答Naming a relation in Doctrine 2 ORM?
How can i set the name of the foreign key (edit: not the name of the attribute itself) for the many-to-one relation \"region\" using YAML?[详细]
2023-04-10 04:59 分类:问答Symfony2: Access the container in the repository
I\'m trying to show an user oriented choice list in a form and I don\'t manage to access to the container to get the current User.[详细]
2023-04-10 04:29 分类:问答Symfony 2 hidden form field text
This is probably really stupid but I am trying to set a hidden form field value in symfony yet when I do a view source, the value doesnt show up.this->postID refers to a value I am passing in through[详细]
2023-04-10 04:19 分类:问答Using doctrine translatable together with Symfony 2 forms
I have Entity in my app, which has 2 translatable fields, using Doctrine Translatable Extension: class Page implements Translatable[详细]
2023-04-10 03:21 分类:问答How can i inject dependencies to Symfony Console commands?
I\'m writing an open source application uses some Symfony components, and using Symfony Console component for interacting with shell.[详细]
2023-04-09 23:57 分类:问答Twig macros VS includes?
I can\'t really understand the difference between macros a开发者_JAVA百科nd includes in Twig: both seems to do the same stuff, that is take some variables and output something.[详细]
2023-04-09 21:25 分类:问答What's the best way to integrate an event-dispatcher in a PHP library?
I need to integrate an event dispatcher in my own codebase (custom PHP library), so I looked at what both Symfony2 and Zend Framework 2 are doing.[详细]
2023-04-09 20:07 分类:问答Generating routes in javascript with Twig and Symfony2
Quite odd problem, 开发者_Go百科sorry for asking, i\'m quite new to Symfony/Twig. My route requires a mandatory region_id paramenter:[详细]
2023-04-09 18:52 分类:问答