doctrine-orm
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 分类:问答Simple CRUD Generation
This is what I have: An entity-relational schema, modelled for Doctrine 2.0 (in PHP); The generated database, on a MySQL server.[详细]
2023-04-09 14:20 分类:问答Adding a timestamp property to a relation in Symfony2
I am trying to model a simple comment system with 2 entities - User and Post. The User class has the regular properties, and the Post class looks like this:[详细]
2023-04-09 11:00 分类:问答Symfony2 + DataFixtures + Capifony - FATAL ERROR Doctrine Proxies - Cannot redeclare unserialize()
For 2 weeks i\'m struggling with fallowing problem. Im using DataFixturesBundle to load my fixtures to database. Everything works fine.[详细]
2023-04-09 04:27 分类:问答Unable to create table in MySQL using Doctrine and Symfony2
I am working with Symfony2 and Doctrine ORM using MySql . After creating an Enti开发者_高级运维ty, I am not able to create the table. It throws an exception.[详细]
2023-04-08 20:46 分类:问答zend 1.11 doctrine2.1.1 - EntityNotFoundException entity was not found
I\'m having problems loading the 5th record from my collection ($arrRoleResources) of records, after I run this, which works fine:-[详细]
2023-04-08 19:02 分类:问答Best Practices for developing a multi-tenant application with Symfony2 and Doctrine2
I am working on an application that needs to support the multi-tenant model.I am using the symfony2 php framework and doctrine2.[详细]
2023-04-08 16:25 分类:问答Doctrine 2 ORM creates classes with hateful CamelCase
I created yaml configuration for Doctrine. When I\'m trying doctrine orm:generate-entities, it creates php files with getters and setters in camel case. So, is_public field transforms into setIsPublic[详细]
2023-04-08 15:18 分类:问答ErrorException: Catchable Fatal Error: Object of class could not be converted to string - Caused by dropdown menu but why?
I have the following code, which retrieves the page slugs from the database which are needed to then create a related sub page:[详细]
2023-04-08 06:09 分类:问答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 分类:问答
加载中,请稍侯......