Problem I just tried PHP Traits for the first time, to keep my code DRY : <?php namespace AcmeDemoBundleModel; trait […]
Tag: symfony2
Friends edit form
Problem I have a list of friends and new friends are added via a form. When you click on a […]
Silex – Guzzle call to external API
Problem I’m at the point where I am happy with the functionality of my code but I dislike how its […]
Preventing XSS in a Symfony form to add a timetable entry
Problem I have started to implement cross site scripting prevention (xss) within my code. However as I am using symfony […]
Logging and getting the response in a controller
Problem I have an action that does two things: It sends a chain of commands, and gets the response from […]
Tag manipulation using DOMDocument
Problem On our main symfony2 application at work I have had to manipulate some outputted grid fields by wrapping them […]
Model database for contract renewal
Problem I have made a contract renewal system in Symfony and Doctrine, and it works, but I think it can […]
Doctrine/Symfony WHERE clause for reports
Problem I’m trying to generate a report from two doctrine entities. The fields to filter the report are optional. This […]
Checking if a relationship exists
Problem I’m using a many-to-many relationship between users and roles with propel: <table name=”user”> <column name=”id” type=”integer” required=”true” primaryKey=”true” autoIncrement=”true” […]
Migrate data between tables efficiently
Problem I wrote a very simple quick and easy script to migrate a bunch of data to another table in […]
- 1
- 2