Symfony2 is an open source PHP web development framework for PHP 5.3.3+ focusing on easy and fast development cycles and including state-of-the-art design patterns and programming philosophies.

learn more… | top users | synonyms (1)

0
votes
1answer
8 views

Symfony2 : Recursive Validation

I've got an entity with some validators (not a form). So I use $validator->validate($entity), but it doesn't validate my sub-ojects (the entity class has some others entity classes with some ...
0
votes
1answer
10 views

Installing symfony2 cmf composer issues

Pretty new to Symfony, I want to get the CMF to work but I'm having issues installing it using composer When running the code in terminal I get this Warning: The lock file is not up to date with ...
1
vote
1answer
10 views

Doctrine 2.2/Symfony 2.2: Persisting an entity with a composite foreign key

I must first establish that I'm a total newcomer to Doctrine, even though I know enough about SQL and PHP/Symfony 2. So, I created this IssueType entity associated to a SQL table: /** * IssueType ...
0
votes
0answers
8 views

Symfony2 embedded form - get entity field

I have an entity with a many-to-many association. What I'm trying to do is: create the form for the main entity embed the associated entities I have been able to do both the points above, but now ...
0
votes
0answers
10 views

how to insert kendo date time picker in kendo grid in symfony2?

here is my kendogrid of an entity i want to add kendo date time calender in this.how to insert date time calender in this grid.any suggestion should be appriciated. here is my kendogrid of an entity i ...
1
vote
0answers
7 views

Why is Symfony2 (ezpublish5) not recognizing my controller as a service?

I'm trying to create a menu for my page with ezpublish5. I followed this tutorial http://partialcontent.com/Code/working-with-ez-publish-5-subrequests. I'm pretty new to Symfony, but I have my own ...
0
votes
0answers
8 views

how to use kendo date time picker in symfony2?

How to insert kendo date time picker in this templete? my new.html.twig is given below {% extends '::base.html.twig' %} {% block body -%} <h1>Proposals creation</h1> <form action="{{ ...
0
votes
0answers
11 views

paypal API sample code

I'm using jmspaypalbundle with symfony https://github.com/schmittjoh/JMSPaymentPaypalBundle/blob/master/Resources/doc/index.rst Configuration were finished and this code looks working. $plugin = ...
0
votes
1answer
10 views

How to get file upload without a form

my controller receives post data. It's not from a Symfony generated form, but from an AngularJS custom form using FormData. The normal parameters are received normally in the request parameter bag, ...
0
votes
1answer
10 views

Data Transformer on multiple fields and parent entity

I've been searching for a while, but was not able to find specific documentation on my DataTransformer use-case. Ofcourse there is the Symfony2 cookbook chapter, but it does not resolve my specific ...
0
votes
1answer
27 views

Symfony2 : Override Validator of a Bundle

I'm using OhDateExtraValidatorBundle, and because my Pull Request hasn't been accepted yet I'll need to override it locally. I read the documentation but couldn't make it work for a validator ...
0
votes
0answers
8 views

How to let the GenemuFormBundle autocomplete work?

I want to use the GenemuFormBundle, i am follow this link:https://github.com/genemu/GenemuFormBundle/blob/master/Resources/doc/jquery/autocomplete/text.md <?php // ... public function ...
0
votes
0answers
4 views

Joins and subqueries: From custom mysql to Propel 1.6 Model Criteria

Is it possible to use Propel 1.6 ModelCriteria class to create a query joining into subqueries? Here's an example below. SELECT a.* FROM a LEFT JOIN ( SELECT b.*, MAX(b.date) as latest_date ...
0
votes
0answers
10 views

Why is doctrine not selecting all columns from entity?

I believe doctrine should always select all fields for an entity when it queries it. I'm using Kitpages' DataGrid bundle with the following code: // create query builder $repository = ...
0
votes
1answer
17 views

doctrine dbal querybuilder as prepared statement

I'm trying to create a Doctrine DBAL querybuilder object and setting a parameter in it. (using a postgres db, dbal 2.3.4, doctrine $connection = $this->_em->getConnection(); $qb = ...

1 2 3 4 5 835
15 30 50 per page