symfony
Doctrine 2 - Access level problems when using Class Table Inheritance
I\'m trying to implent the Class Table Inheritance Doctrine 2 offers in my Symfony 2 project. Let\'s say a have a Pizza class, Burito class and a MacAndCheese class which all inherit from a Food class[详细]
2023-04-07 11:36 分类:问答Entity-specific functions in Symfony2
In my Symfony2 project, I have a ModelBundle which holds my entities, and other bundles for the frontend, backend, etc, which utilise that ModelBundle.[详细]
2023-04-07 07:28 分类:问答PHPUnit reports a PHPUnit_Framework_Exception
I added a simple test to a bundle. As suggested in the manual I tried to have PHPUnit load the configuration with:[详细]
2023-04-07 07:12 分类:问答HTML in Symfony2 form labels instead of plain text
I am trying to implement something like this: <div> <input type=\"checkbox\" name=\"checkbox\" id=\"checkbox_id\" />[详细]
2023-04-07 05:42 分类:问答symfony2 API authentication and routing
I followed the instructions for creating a custom authentication provider: http://symfony.com/doc/current/cookbook/security/custom_authentication_provider.html[详细]
2023-04-07 04:20 分类:问答Doctrine2: Mapping a parent class field from a child, how?
I\'m wondering if this can be done using Doctrine annotations: Say you have a parent class (a mapped superclass):[详细]
2023-04-07 03:50 分类:问答Symfony2+Twig: Using a template both for authenticated and anonymous user
I\'m new to symfony and twig and I have som开发者_如何学Goe headache with security, firewalls and templates.[详细]
2023-04-07 02:31 分类:问答Symfony2, Doctrine2 and PostgreSQL: error "Undefined variable: className"
I try to configur开发者_如何学运维e entities for existing table in PostgreSQL database. Sequences in this database have names other than default doctrine names, so i have to account that in entity.[详细]
2023-04-06 23:12 分类:问答How to specify what value is passed using a choice form field in Symfony2
I have the following code which displays all the available main pages that can be used when adding sub pages in my project:[详细]
2023-04-06 20:29 分类:问答Symfony Error on Form Submission .... "must be an instance of varchar, string given,"
Running Symfony2 Upon submitting a form, here is the error I get: Catchable Fatal Error: Argument 1 passed to Depot\\StarterBundle\\Entity\\Application::setPropAddr() must be an ins开发者_开发知识库[详细]
2023-04-06 18:19 分类:问答